Background for Skyrim SE
Member of the Actor script
voidfunctionEndDeferredKill()Native

Description

Wiki Description

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 Actor.StartDeferredKill().

Documentation Comment

End the Deferred Kill state. This must only be called if StartDeferredKill was called first.


Caveats

CK Wiki - 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


Examples

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

Auto-Generated Example

myActor__toCallFunctionOn.EndDeferredKill()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.