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.
 
 
 

27 lines
781 B

scriptName _00E_A0_MyradFlightDevActivator extends ObjectReference Conditional
Actor Property MyMyrad auto
Quest Property FlightControl auto
Message Property MENUselect Auto
EVENT onActivate (objectReference akActionRef)
game.shakeCamera(afStrength = 0.25, afDuration = 0.25)
utility.wait(0.65)
game.shakeCamera(afStrength = 0.5, afDuration = 0.5)
utility.wait(0.5)
; ShowMessage()
MyMyrad = getLinkedRef() as Actor
(FlightControl as _00E_A0_MyradFlightControlQuest).CallMyrad(MyMyrad, 1)
ENDevent
Function ShowMessage()
int BUTTON = MENUselect.Show()
if BUTTON != 4 && BUTTON != 3
MyMyrad = getLinkedRef() as Actor
utility.wait(1)
(FlightControl as _00E_A0_MyradFlightControlQuest).CallMyrad(MyMyrad, BUTTON)
endif
ENDfunction