NWNWiki

Editing

OnDeath event

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 1: Line 1:
The '''OnDeath''' event is fired when an [[object]] is killed.
+
The '''OnDeath''' event is fired when a [[creature]] destroys another creature or a [[placeable]] or [[door]].
This does not include objects destroyed via <code>[[DestroyObject]]()</code>.
 
   
== Objects that define this event ==
+
==Objects which define this Event==
 
* [[Door event|Doors]]
 
* [[Door event|Doors]]
 
* [[Placeable event|Placeables]]
 
* [[Placeable event|Placeables]]
 
* [[Creature event|Creatures]]
 
* [[Creature event|Creatures]]
   
== Related functions ==
+
==Related Functions==
 
* [http://www.nwnlexicon.com/compiled/function.getlastkiller.html GetLastKiller]
 
* [http://www.nwnlexicon.com/compiled/function.getlastkiller.html GetLastKiller]
 
[[Category:Events]][[Category:Door events]][[Category:Placeable events]][[Category:Creature events]]
 
[[Category:Events]][[Category:Door events]][[Category:Placeable events]][[Category:Creature events]]
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template