• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Little Check on NPC's around

Crystane

Well-known member
Joined
Oct 9, 2005
RedCents
756¢
If some could help me rq with a smal sub, which
Would Count all NPC`s in a set Radius around and then
check if one of those mobs in that radius is moveing at higher speed then just roaming around(aka walk).

I Know ${SpawnCount[NPC radius 100]} would give the number as start, if anyone could help me out on the smal
loop to check each mob out of that SpawCount step by step.
 
This should do it.. havn't tested though.

Sub CheckRunningMobs

/declare NPCStuff int local

/for NPCStuff 1 to ${SpawnCount[NPC Radius 100]}
/if (${Spawn[${NearestSpawn[${NPCStuff}, NPC]}].Speed}>100) /echo ${NearestSpawn[${NPCStuff}, NPC]} is running
/next NPCStuff

/return
 
Little Check on NPC's around

Users who are viewing this thread

Back
Top
Cart