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.
 
 
 

18 lines
501 B

Scriptname _00E_MQ11a_SC12_ArrowCheckSC extends ObjectReference
Event OnTrigger(ObjectReference akActionRef)
Form actionBase = akActionRef.GetBaseObject()
If actionBase && _00E_MQ11a_SC12_ValidArrows.HasForm(actionBase) && (MQ11a_LeftTower.GetValueInt() == 4) && (bDone == False)
bDone = True
Self.GetLinkedRef().Enable()
MQ11a_LeftTower.SetValueInt(5)
EndIf
EndEvent
Bool bDone = False
GlobalVariable Property MQ11a_LeftTower Auto
Formlist Property _00E_MQ11a_SC12_ValidArrows Auto