2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11a_SC20_SigilBox extends ObjectReference
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-02-01 05:10:58 +00:00
|
|
|
if !Done && akActionRef == PlayerREF && MQ11a.GetCurrentStageID() >= 115
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
; int iButton = _00E_MQ11a_SC20_SigilBox01.Show()
|
|
|
|
|
|
|
|
if GlobalVariableToCheck.GetValueInt() >= 9
|
2024-02-01 05:10:58 +00:00
|
|
|
|
|
|
|
Done = True
|
|
|
|
|
|
|
|
if GlobalVariableToCheck == MQ11a_RightTower ; Taynisha
|
|
|
|
MQ11a.SetObjectiveCompleted(45)
|
|
|
|
MQ11a.SetObjectiveCompleted(47)
|
|
|
|
Else ; Maya
|
|
|
|
MQ11a.SetObjectiveCompleted(42)
|
|
|
|
MQ11a.SetObjectiveCompleted(40)
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
MQ11a_DoorRiddle.SetValueInt(MQ11a_DoorRiddle.GetValueInt() + 1)
|
2021-10-05 22:15:58 +00:00
|
|
|
|
2024-02-01 05:10:58 +00:00
|
|
|
if MQ11a_DoorRiddle.GetValueInt() == 1
|
|
|
|
DRSStoneLabyrinthianKnockM.Play(Self)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
2024-02-01 05:10:58 +00:00
|
|
|
|
|
|
|
MQ11a.CheckForRiddleDoor()
|
|
|
|
|
2021-10-05 22:15:58 +00:00
|
|
|
Else
|
|
|
|
_00E_MQ11a_sSigilBoxMagic.Show()
|
2024-02-01 05:10:58 +00:00
|
|
|
EndIf
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool Done
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
Message Property _00E_MQ11a_SC20_SigilBox01 Auto
|
|
|
|
Message Property _00E_MQ11a_sSigilBoxMagic Auto
|
|
|
|
|
|
|
|
GlobalVariable Property MQ11a_DoorRiddle Auto
|
|
|
|
GlobalVariable Property GlobalVariableToCheck Auto
|
2024-02-01 05:10:58 +00:00
|
|
|
GlobalVariable Property MQ11a_LeftTower Auto
|
|
|
|
GlobalVariable Property MQ11a_RightTower Auto
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
_00E_MQ11a_Functions Property MQ11a Auto
|
|
|
|
Sound Property DRSStoneLabyrinthianKnockM Auto
|