Resurrect - Actor
Member of: Actor Script
Resurrects this actor.
SyntaxEdit
Function Resurrect() native
ParametersEdit
None.
Return ValueEdit
None.
ExamplesEdit
; 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
See AlsoEdit
NotesEdit
- 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.