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.
 
 
 

49 lines
1.2 KiB

Scriptname _00E_MQ13c_SC09_ButtonSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnInit()
Self.BlockActivation()
EndEvent
Event OnActivate(ObjectReference akActionRef)
If MQ13c.GetCurrentStageID() == 120
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