SpawnCount¶
Object used to count spawns based on a set of queries. Uses the filters under Spawn Search.
Forms¶
int SpawnCount¶
- Total number of spawns in current zone
int SpawnCount[SearchString]¶
- Total number of spawns in current zone matching the
SearchString. See Spawn Search.
Usage¶
/echo ${SpawnCount}
Displays the count of all spawns.
/echo ${SpawnCount[range 45 50]}
Displays the count of all spawns in the level range of 45 to 50.
/echo ${SpawnCount[npc radius 100]}
Displays count of all NPCs within a radius of 100.
Discussions that link here
- Condition check for a class
- Is there anyway to send a /command to a client autonomously?
- Tipt instance flipping - help
- help building a few simple macros.
This TLO is added by MacroQuest.
Republished and possibly modified from https://docs.macroquest.org/reference/top-level-objects/tlo-spawncount/