c0ncrete
11-12-2012, 08:57 AM
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.
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.