Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
29 lines
494 B
29 lines
494 B
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 |