enderalse/source/scripts/_00e_summonablespiritpigletscript.psc

13 lines
323 B
Plaintext

Scriptname _00E_SummonableSpiritPigletScript extends actor
Sound Property _00E_NPCConjurePortalClose2D Auto
Static Property XMarker Auto
Event OnDying(Actor akKiller)
ObjectReference markerRef = PlaceAtMe(XMarker)
_00E_NPCConjurePortalClose2D.PlayAndWait(markerRef)
markerRef.Disable()
markerRef.Delete()
EndEvent