Difference between revisions of "EVENT TYPE DYING"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=events_h)
Line 11: Line 11:
  
 
[[creature_core]] handles XP and treasure awards.
 
[[creature_core]] handles XP and treasure awards.
 +
 +
[[Category:Event types|DYING]]
 +
[[Category:Creature events|DYING]]

Revision as of 20:27, 3 January 2010

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.