EndDeferredKill - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script (Requires 1.6)

Removes the actor from a Deferred Kill state. If the actor's health went below zero or the actor was killed for any other reason while in the Deferred Kill state, the actor will die when this is called. Call this after first calling StartDeferredKill.

Syntax

Function EndDeferredKill() native

Parameters

None.

Return Value

None.

Examples

; Force the player out of a Deferred Kill state
Game.GetPlayer().EndDeferredKill()


Notes

To bypass this function killing the player, you have to set the actor to essential, with a bleedout override checked and set to 0. Source

See Also