Difference between revisions of "EVENT TYPE DYING"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=events_h)
Line 1: Line 1:
 
{{event
 
{{event
 +
|sourcefile=events_h
 
|when= a creature received the killing blow.
 
|when= a creature received the killing blow.
 
|from= [[effect_death_h]]
 
|from= [[effect_death_h]]

Revision as of 23:11, 18 August 2009

Source:
events_h
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.