2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQJ06_EnableJesparSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If akActionRef == PlayerREF && !bDone
|
2024-01-10 14:08:24 +00:00
|
|
|
If CQJ06.GetCurrentStageID() == 5
|
2021-10-05 22:15:58 +00:00
|
|
|
if ((GameHour.GetValue() < 19) && (GameHour.GetValue() > 4))
|
|
|
|
_00E_CQJ06_sComeBackLater.Show()
|
|
|
|
Else
|
2024-01-10 14:08:24 +00:00
|
|
|
CQJ06.SetCurrentStageID(10)
|
2021-10-05 22:15:58 +00:00
|
|
|
CQJ06.SetUp()
|
|
|
|
bDone = True
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If bDone && !CQJ06.IsCompleted()
|
|
|
|
bDone = False
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool bDone
|
|
|
|
|
|
|
|
_00E_CQJ06_Functions Property CQJ06 Auto
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Message Property _00E_CQJ06_sComeBackLater Auto
|
|
|
|
GlobalVariable Property GameHour Auto
|