enderalse/scripts/source/_00e_nq09_deamontrigboxscript.psc

24 lines
550 B
Plaintext

Scriptname _00E_NQ09_DeamonTrigBoxScript extends ObjectReference
Event OnTrigger(ObjectReference akActionRef)
if ( NQ09.GetStage() <= 50 )
activate(self as objectReference) ; TRIGGER LINKED OBJECT
NQ09.SetStage(52)
_00E_NQ09_DeamonRef.MoveTo(_00E_NQ09_DeamonSpawnMarkerRef)
NQ09.SetStage(55)
endif
EndEvent
Spell Property _00E_NoTeleportSpell Auto
ObjectReference Property _00E_NQ09_DeamonRef auto
ObjectReference Property _00E_NQ09_DeamonSpawnMarkerRef auto
ReferenceAlias Property Deamon auto
Quest Property NQ09 auto