enderalse/scripts/source/_00e_ark_nq_barrieractivator.psc

27 lines
609 B
Plaintext
Raw Normal View History

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