Difference between revisions of "EVENT TYPE DEATH"
From Dragon Age Toolset Wiki
KigenBarzhad (Talk | contribs) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
Line 12: | Line 12: | ||
Handles shutdown of creature's AI, perception, etc. and replaces it with a bodybag. | Handles shutdown of creature's AI, perception, etc. and replaces it with a bodybag. | ||
− | |||
− | |||
− |
Latest revision as of 01:06, 12 February 2010
- 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.