2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ13c_SC09_ButtonSC extends ObjectReference
|
|
|
|
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
|
|
|
Self.BlockActivation()
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQ13c.GetCurrentStageID() == 120
|
2021-10-05 22:15:58 +00:00
|
|
|
If bButtonPlayer
|
|
|
|
If akActionRef == Game.GetPlayer()
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
Else
|
|
|
|
Return
|
|
|
|
EndIf
|
|
|
|
ElseIf bButtonRomance
|
|
|
|
If akActionRef == MQ13c.akCompanionRomance
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
Else
|
|
|
|
Return
|
|
|
|
EndIf
|
|
|
|
ElseIf bButtonNoRomance
|
|
|
|
If akActionRef == MQ13c.akCompanionNoRomance
|
|
|
|
Self.Activate(akActionRef, True)
|
|
|
|
Else
|
|
|
|
Return
|
|
|
|
EndIf
|
|
|
|
Endif
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
bool Property bButtonPlayer Auto
|
|
|
|
bool Property bButtonRomance Auto
|
|
|
|
bool Property bButtonNoRomance Auto
|
|
|
|
|
|
|
|
_00E_MQ13c_Functions Property MQ13c Auto
|