Quote:
Originally Posted by Akkadius
What you want is to use a function that will check the distance between the trash and the boss. You can achieve that with:
plugin::CheckDistBetween2Ents(entity1, entity2, distance);
http://wiki.eqemulator.org/p?Perl_Pl...ntity-distance
You will also want to use something simple like quest::follow, which will follow the entity that you specify:
quest::follow(EntityID, [Distance]) # Mob starts to follow "EntityID". The second field, Distance, is optional and can be used to set the distance the Mob will follow it's target at.
Setting the runspeed or walkspeed of the mob if you will, will give players a longer reaction time before the adds get to the main boss.
Hopefully that helps.
|
Ha,
Thanks Akkadius.
Don't know why I would want a dumby npc when I can use the boss :l silly me.
The quest::follow you're referring to having the adds I spawn follow my boss, correct? I'm assuming they don't follow any intelligent grid if I do that, in which case I'm fairly certain they would run through walls.