Difference between revisions of "Kill"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Bnesmith
imported>JOG
Line 13: Line 13:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Statistics Functions]]
[[Category: Statistics Functions]]
[[Category:Actor Functions]]

Revision as of 10:41, 28 June 2006

Syntax:

Kill actorID (optional)

Kills the actor. Note that the actor's health may still be above zero, because this function doesn't kill by modifying the health.


Essential actors will be made "unconscious" (in their normal temporary "dead" state).


The optional actorID parameter tells the system which actor is reponsible for the death. This is of primary importance in crimes and in triggering the OnDeath block when it uses it's optional actorID parameter.