SetEventHandler "OnDeath" WOLEvtOnDeathTarget "form"::PlayerRefSetEventHandler "OnMurder" WOLEvtOnMurderTarget "form"::PlayerRef
Even if I try the OnMurder event without the "form"::PlayerRef it will not trigger.
SetEventHandler "OnDeath" WOLEvtOnDeathTarget "form"::PlayerRefSetEventHandler "OnMurder" WOLEvtOnMurderTarget "form"::PlayerRef
SetEventHandler "OnDeath" WOLEvtOnDeathTarget object::PlayerRefSetEventHandler "OnMurder" WOLEvtOnMurderTarget object::PlayerRefWith the event handler functions there are 2 arguments.
OnDeath target:ref killer:formOnMurder target:ref killer:form
OnDeath target:ref killer:formOnMurder target:ref killer:form