Kill

From the Oblivion ConstructionSet Wiki
Revision as of 11:45, 23 January 2008 by imported>Fella
Jump to navigation Jump to search

Syntax:

[ActorID.]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.