How to get minions of a NPC?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Zeldak
Posts: 42
Joined: Mon Jun 06, 2011 9:59 pm

How to get minions of a NPC?

Post by Zeldak »

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.

Code: Select all

npc = addSpawn(NPC_ID,WALKS[0][0],WALKS[0][1],WALKS[0][2],0,false,0); 
I also added onKill method a trigger which spawn the monster after 80 seconds

Code: Select all

startQuestTimer("spawn", 80000, null, null);
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?
Post Reply