Difference between revisions of "Kill"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Bnesmith
imported>Bnesmith
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  Kill ''(actorID)''
  Kill ''actorID (optional)''


Kills the actor. Note that the actor's health may still be above zero, because  
Kills the actor. Note that the actor's health may still be above zero, because  

Revision as of 15:15, 26 May 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.