Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-27-2014, 03:20 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Question Get All NPCs by NPCTypeID

Hilariously stupid quest, maybe I'm just hungry.

Is there any easy way to pull all the NPCs by npc_type id?

I thought the below bit would work, but it seems to only pull one. I have 11 of npc_type id 12345 in the zone, but it seems to only select one of them.
Code:
my @creatures = $entity_list->GetNPCByNPCTypeID(12345);
I am using this in the default.pl for the zone and I'm trying to select three of them to start on a grid.

Pre-emptive thank you!
-Hate
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:14 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3