Difference between revisions of "Kill"
Jump to navigation
Jump to search
imported>Qazaaq (clearified syntax, only actorID behind can be confusing) |
imported>Fella |
||
Line 10: | Line 10: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Actor Functions]] | [[Category: Actor Functions]] |
Revision as of 11:45, 23 January 2008
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.