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 01-02-2015, 01:37 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Signal across a zone

Just curious can you signal an NPC across zones? I am thinking you probably have to set a server variable, but curious if this can be done.
Reply With Quote
  #2  
Old 01-02-2015, 02:41 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by provocating View Post
Just curious can you signal an NPC across zones? I am thinking you probably have to set a server variable, but curious if this can be done.
Yes/no. You can signalwith, however, I recall if despite being a static zone, if there are no players in the zone, they (the entities/NPCs) are in a "sleep" mode.

I'll have to re-research this, as I'm getting ready to do that exact thing (cross-zone signal) here soon. But, the above is what I can remember from another thread that exists regarding it.
Reply With Quote
  #3  
Old 01-02-2015, 04:04 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

Why exactly would you need to signal an NPC across zones? Also, you can do this with clients, I don't think we have any source written for cross-zone signaling NPCs though. Maybe a quest global would allow you the cross-zone access to whatever you're working with.
Reply With Quote
  #4  
Old 01-02-2015, 05:17 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

You can cross zone signal NPC by NPC Type ID, I implemented this a few months ago. It will signal every single NPC with that Id.

On phone so don't have the syntax offhand but it should be in the changelog.
Reply With Quote
  #5  
Old 01-02-2015, 05:20 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Akkadius View Post
You can cross zone signal NPC by NPC Type ID, I implemented this a few months ago. It will signal every single NPC with that Id.

On phone so don't have the syntax offhand but it should be in the changelog.
Okay great. I am guessing as long as the zone is active it will work.
Reply With Quote
  #6  
Old 01-02-2015, 05:41 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

That would be correct
Reply With Quote
  #7  
Old 01-02-2015, 06:19 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by Kingly_Krab View Post
Why exactly would you need to signal an NPC across zones? Also, you can do this with clients, I don't think we have any source written for cross-zone signaling NPCs though. Maybe a quest global would allow you the cross-zone access to whatever you're working with.
Gotta get those creative juices flowing bud.

But yeah what Akka said, that's right, I remember writing him shortly after I noticed it in the change log thanking him for the addition. Something in regards to a certain evil in the genius. >: )
Reply With Quote
  #8  
Old 01-02-2015, 06:23 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

- Side implementations:
Perl Exports:
- quest::crosszonesetentityvariablebynpctypeid(npcty pe_id, id, m_var) - Sets entity variables world wide with specified npctype_id
- quest::crosszonesignalnpcbynpctypeid(npctype_id, data) - Signals all NPC entities world wide with specified npctype_id

Yes, I could have made it longer. So don't ask
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 01:47 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