NWNWiki
Register
NWNWiki
3,718
pages
Edit Page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

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]]
Please note that all contributions to the NWNWiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)