Category: Objects
/ Living Beings
Since engine version: 1.0 OC
Kill
Description
Kills an object. Applies to living beings only.
Syntax
bool Kill(bool forced);
Parameter
- forced:
- [opt] If set, the object will be killed, even if an effect tries to prevent this. .
Example
FindObject(Find_OCF(OCF_Alive()))->Kill();
Kills a living being.
See also: Punch, RemoveObject