32 lines
670 B
Plaintext
32 lines
670 B
Plaintext
Scriptname _00E_CQJ06_EnableJesparSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF && !bDone
|
|
If CQJ06.GetStage() == 5
|
|
if ((GameHour.GetValue() < 19) && (GameHour.GetValue() > 4))
|
|
_00E_CQJ06_sComeBackLater.Show()
|
|
Else
|
|
CQJ06.SetStage(10)
|
|
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 |