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

Description

Wiki Description

Resurrects this actor.

Documentation Comment

Resurrects this actor


Caveats

CK Wiki - Notes

  • Resurrect won't work when "starts dead" is flagged in the reference window.
    • If you enter a dungeon with actors already dead(for example, already dead draugrs are a common actor with this flag set) chances are they have this flag set.

Examples

; Resurrect Nate (but sadly, he doesn't become undead...)
Nate.Resurrect()
ScriptName ResurrectHumanOrAnimal extends ActiveMagicEffect 
{{Only resurrect human or animal targets}}

Keyword Property ActorTypeAnimal auto
Keyword Property ActorTypeNPC auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
    If (akTarget.HasKeyword(ActorTypeAnimal) || akTarget.HasKeyword(ActorTypeNPC))
        akTarget.Resurrect()
    EndIf
EndEvent

Auto-Generated Example

myActor__toCallFunctionOn.Resurrect()

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.