You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
It doesn't say that anywhere.
https://acis.i-live.eu/index.php?topic=30.0
check it from source java file names
example in 367 ->
https://acis.i-live.eu/index.php?topic=30.255 l2bufferinstance renamed to schemebuffer | l2pcinstance renamed to player
check changeset 367 to understand
Question
Gorion
Hi, this is a code that make some monsters to atttack _priest
_priest = addSpawn(npcid,X,Y,Z); priest is like that. a npc in these coordinates.
for (L2Npc monster : _monsters)
{
((L2Attackable) monster).addDamageHate(_priest,9000,9000);
monster.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, _priest, null);
}
my question is how can i make these monsters to hit a specific player.
to explain better. to kill only clan leaders. we have guards to kill karma players but i do not want guards but monsters to kill clan leaders.
do you know how can i do this?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.