enderalse/source/scripts/_00e_a0_myradflightdevactivator.psc

28 lines
781 B
Plaintext

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