EVENT TYPE DYING

From Dragon Age Toolset Wiki
Revision as of 17:43, 24 July 2009 by BryanDerksen (Talk | contribs) (formatting)

Jump to: navigation, search
Source:
[Undocumented]
Sent when:
a creature received the killing blow.
Sent from:
effect_death_h
Sent to:
the creature getting the killing blow.
Parameters:
  • Object 0: object delivering the killing blow

Usage

case EVENT_TYPE_DYING:
{
object oKiller = GetEventObject(ev, 0); // object delivering the killing blow

// insert event-handling code here

break;
}
creature_core handles XP and treasure awards.