Page 1 of 1

Return if npc is spawned

Posted: Thu Sep 27, 2012 6:15 pm
by Maylorian
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: last
L2JDP Revision Number: last

hey how can i make the core check if a rb is spawned? i am trying this

Code: Select all

if (L2World.getinstance().findobject(raid.getObjectId()) != null)
and i am getting this on gs

Cannot invoke getobjectid() on the primitive type int

Re: Return if npc is spawned

Posted: Thu Sep 27, 2012 6:42 pm
by jurchiks
RaidBossManager.getInstance()..someMethodToCheckStatus(npcId)

Re: Return if npc is spawned

Posted: Thu Sep 27, 2012 6:48 pm
by Maylorian
yea the problem is the somemethodtocheck status..

Re: Return if npc is spawned

Posted: Thu Sep 27, 2012 7:20 pm
by jurchiks
It's not a problem if you have the right tools/know where to look. So just get to it.