4
Fork 0
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.
 
 
 

26 lines
609 B

Scriptname _00E_Ark_NQ_BarrierActivator extends ObjectReference
Message Property _00E_Ark_NQ_Kor_BarrierMessage Auto
ObjectReference Property Barrier Auto
ObjectReference Property Collision Auto
Sound Property MAGIllusionCharm Auto
Quest Property NQ07 Auto
Event onActivate(objectReference akActionRef)
int iButton = _00E_Ark_NQ_Kor_BarrierMessage.Show()
if iButton == 0
NQ07.SetObjectiveCompleted(20)
Barrier.playanimation("playanim01")
MAGIllusionCharm.Play(Game.GetPlayer())
utility.wait(4.0)
Barrier.Disable()
Self.Disable()
Collision.Disable()
ElseIf iButton == 1
Return
EndIf
EndEvent