Difference between revisions of "EVENT TYPE DEATH"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (formatting) |
BryanDerksen (Talk | contribs) m (|sourcefile=script.ldf) |
||
Line 1: | Line 1: | ||
{{event | {{event | ||
+ | |sourcefile=script.ldf | ||
|when= creature or placeable have the death effect applied (regardless of hitpoints) | |when= creature or placeable have the death effect applied (regardless of hitpoints) | ||
|from= scripts | |from= scripts |
Revision as of 20:39, 30 July 2009
- Source:
- script.ldf
- Sent when:
- creature or placeable have the death effect applied (regardless of hitpoints)
- Sent from:
- scripts
- Sent to:
- creatures, placeables
- Parameters:
-
- Creator: killing object
Usage
case EVENT_TYPE_DEATH:
{
object oKiller = GetEventCreator(ev); // killing object
// insert event-handling code here
break;
}
{
object oKiller = GetEventCreator(ev); // killing object
// insert event-handling code here
break;
}
Handles shutdown of creature's AI, perception, etc. and replaces it with a bodybag.