Request method to iterate through specific named mobs

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Xenophage
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Dec 09, 2002 6:04 am

Request method to iterate through specific named mobs

Post by Xenophage » Thu Sep 30, 2004 10:49 am

I have an idea how to do this using Spawn and SpawnCount, but wondered if anyone could suggest a way to do this without me kluging away at it.

Intent: List all mobs containing a certain string in their name ('goblin', 'sarnak') in a zone with their direction and distance from my current position, but only those mobs holding an object (weapon, shield, torch, whatever). It's that last one that makes it so I can't just do /who npc for them.

Any suggestions or help would be appreciated.