Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2012, 08:57 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default EVENT_SAY and target/face

i noticed that npcs in zones that have a default.pl file in them will face the player who hails them if there is an EVENT_SAY sub, even if they have no conditionals that should cause them to respond in any manner. i know it's coded in the source to face the client that is speaking to them before it fires off the event, but this causes the need for empty quest files (or at least without EVENT_SAY) in the zone's quest folder for each npc that you don't want to have this behavior (examples would be barrels, crates, cocoons, and bone piles in tutorialb).

i was wondering if i should bother coding a patch to make npc's face mobs only in certain quest functions instead (like quest::say()), or if it would be a wasted effort. i'd noticed it while i was trying to consolidate some of the smaller quests into the zone's default to cut down on the number of scripts with one or two single-line subroutines/events.
Reply With Quote
  #2  
Old 11-12-2012, 05:34 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

[Tangent:] I seem to remember a time on live where certain objects would turn to you if you hailed them..like bone piles. Could have been EQ2 though...
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 11-12-2012, 05:50 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

i guess that means it's "working as intended" then.

it'd probably end up being more effort than it's worth anyway. i just hate having to have empty files laying about for no reason other than to avoid this weird behavior. it's only going to be an in zones with npc "objects" where default.pl is in use, however.
Reply With Quote
  #4  
Old 11-12-2012, 06:11 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

well it could be useful for realism sake - yeah its weird when boxes and barrels turn around =)
file cabinet in Seru comes to mind - it does has quest script attached to it, but its really not suppose to be rolling about =)
But I guess the issue is fairly minor

BTW I think that if npc is SITTING it doesn't turn when hailed/talked too.
Perhaps giving object sitting stances could be an easy fix solution?
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 AM.


 

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