How to get minions of a NPC?
Posted: Fri Mar 02, 2012 12:07 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hello L2jserver,
im in front of problem and dont know how to solve it.
Normally if you kill the Leader of groups, minions will dissapear when the leader respawn.
Now what i tried to do:
Made a script which spawn the Group Leader and normally it spawns auto the minions too.
I also added onKill method a trigger which spawn the monster after 80 seconds
And it works correctly it respawn the Group leader with his minions but the problem is that the old minions dont respawn. Is any method which return the minions so i can unspawn them by script?
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hello L2jserver,
im in front of problem and dont know how to solve it.
Normally if you kill the Leader of groups, minions will dissapear when the leader respawn.
Now what i tried to do:
Made a script which spawn the Group Leader and normally it spawns auto the minions too.
Code: Select all
npc = addSpawn(NPC_ID,WALKS[0][0],WALKS[0][1],WALKS[0][2],0,false,0);
Code: Select all
startQuestTimer("spawn", 80000, null, null);