Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
32 lines
670 B
32 lines
670 B
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 |