Difference between revisions of "Kill"
Jump to navigation
Jump to search
CS 1.0. Also, not a Stat function, but this could be considered a Crime function (and is very useful for crime detection scripting), so I'm adding it there
imported>JOG |
imported>DragoonWraith (CS 1.0. Also, not a Stat function, but this could be considered a Crime function (and is very useful for crime detection scripting), so I'm adding it there) |
||
Line 4: | Line 4: | ||
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 | ||
this function doesn't kill by modifying the health. | this function doesn't kill by modifying the health. | ||
Essential actors will be made "unconscious" (in their normal temporary "dead" state). | 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. | 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. | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: | [[Category: Functions (CS 1.0)]] | ||
[[Category:Actor Functions]] | [[Category: Actor Functions]] | ||
[[Category: Actor Functions (CS 1.0)]] | |||
[[Category: Crime Functions]] | |||
[[Category: Crime Functions (CS 1.0)]] |