enderalse/scripts/source/_00e_mq07a_sc5_buttonsc.psc

29 lines
494 B
Plaintext

Scriptname _00E_MQ07a_SC5_ButtonSC extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
if !Done && !Self.IsActivationBlocked()
int iButton = _00E_MQ07a_ButtonMSG.Show()
If iButton == 1
Return
Else
Done = True
Self.Activate(Game.GetPlayer(), True)
MQ07a.ActivatePlatform()
EndIf
EndIf
EndEvent
bool Done
Message Property _00E_MQ07a_ButtonMSG Auto
_00E_MQ07a_Functions Property MQ07a Auto