View Single Post
  #4  
Old 09-22-2008, 04:01 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The relevant part of the source that stops EVENT_SAY working for engaged mobs seems to be:

zone/client.cpp around line 720:

Code:
                if (target != 0 && target->IsNPC() && !target->CastToNPC()->IsEngaged()) {
#ifdef EMBPERL
                        if(((PerlembParser *)parse)->HasQuestSub(target->GetNPCTypeID(),"EVENT_SAY")){
#endif
If you have the ability to edit/compile the source, you could remove the part I have highlighted in red, or a Rule could be added so that you can control whether EVENT_SAY is called for engaged mobs.

Last edited by Derision; 09-23-2008 at 12:04 AM..
Reply With Quote