View Single Post
  #3  
Old 07-09-2011, 11:38 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

was trying to avoid that because this needs to be checked repeatedly.

let me restate, is there any current function that will let me get a count of mobs or even a list by npc_id or CleanName. because if you dump something into an array and then dump the array into a scalar you get the count of the array.
This example for clients will get all clients in zone and $size will have the count.
Code:
  @list = $entity_list->GetClientList();
  $size = @list;
Just felt I shouldn't have to walk the entire mob list in perl to count my mobs.
Reply With Quote