StartDeferredKill - Actor
Jump to navigation
Jump to search
Member of: Actor Script (Requires 1.6)
Puts the actor into a Deferred Kill state. In this state, the actor can take damage but will not die. You can check the actor's Health, if it's <= 0 then you know the actor is dead. Bring the actor out of the deferred kill state by calling EndDeferredKill. Until you do this, the actor will not be able do die.
Syntax[edit | edit source]
Function StartDeferredKill() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Force the player into a Deferred Kill state
Game.GetPlayer().StartDeferredKill()