Aller au contenu

Photo

[SOLVED] Event overriding behavior...


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
FramnkRulez

FramnkRulez
  • Members
  • 19 messages
I'm trying to understand why an event I've overridden doesn't process correctly on the default event handler script when I override it with my custom script.  Basically I override the EVENT_TYPE_EQUIP and EVENT_TYPE_UNEQUIP, do some custom handling in my event script.  This works fine, however it seems like the event won't process anymore if I pass it to the default handler using HandleEvent(ev); or if I specifically pass it to a handler such as HandleEvent(ev, RESOURCE_SCRIPT_PLAYER_CORE);  Functionality that should be occuring for those events isn't occuring when I call HandleEvent() which leads me to believe it's not getting passed properly.  I log a message right before I call HandleEvent() so I know it's getting to that point, somewhere after that it's getting lost.

I'm using the instructions located below as a reference to overriding default events, and using the .2da method to override the EQUIP and UNEQUIP events to my custom handler.

social.bioware.com/wiki/datoolset/index.php/Event_override

Modifié par FramnkRulez, 17 novembre 2010 - 08:50 .


#2
FramnkRulez

FramnkRulez
  • Members
  • 19 messages
Disregard, I was just doing something wrong again ;)