Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
448 B
16 lines
448 B
5 months ago
|
scriptName defaultFakeRezSpell extends defaultFakeSummonSpell
|
||
|
{A script to 'fake' resurrecting and re-killing actors. Derived from defaultFakeSummonSpell, but more useful with undead.}
|
||
|
|
||
|
Spell property dunReanimateSelf Auto
|
||
|
|
||
|
;Optional way to trigger the Summon FX in more scripted situations.
|
||
|
Event Summon()
|
||
|
; ;Debug.Trace("Resurrecting")
|
||
|
if (Self.IsDead())
|
||
|
dunReanimateSelf.Cast(Self, Self)
|
||
|
EndIf
|
||
|
EndEvent
|
||
|
|
||
|
Event Banish()
|
||
|
Self.Kill()
|
||
|
EndEvent
|