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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2009, 02:43 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default Conversation

Is there a way, im sure there is, just if anyone can answer if I can have two or more NPC's synched in conversation?
Reply With Quote
  #2  
Old 11-12-2009, 03:59 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Signals can be used, or you can have an invisible trigger npc that controls them. I'd definitely start with looking into signals though as they're probably a bit easier to grasp.
Reply With Quote
  #3  
Old 11-12-2009, 04:16 AM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 502
Default

KLS is there an issue with e.g.
Code:
if (defined($entity_list->GetMobByNpcTypeID(115132))) { 
$entity_list->GetMobByNpcTypeID(115132)->Say("Aye, we wouldn't want ye fallin into the pit now would we."); 
}
If the NPC Type ID is unique for the second one?
This also lets you know if the other npC is dead or not if it doesn't return defined...
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote
  #4  
Old 11-12-2009, 11:32 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Well you can get a perl array of every npc with $entity_list->GetNPCList() and iterate through and simply match it to spawn2 point or whatever so it doesn't really matter if your npc is unique or not =)
Reply With Quote
Reply


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 05:41 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3