2021-10-06 00:15:58 +02:00
|
|
|
Scriptname _00E_SetGamehourOnTriggerEnter extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF && Done == False
|
|
|
|
Done = True
|
2024-01-09 23:00:18 +01:00
|
|
|
_00E_TimeControl.SkipTimeToHour(__Config_DesiredTime)
|
2021-10-06 00:15:58 +02:00
|
|
|
Disable()
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Float Property __Config_DesiredTime Auto
|
2024-01-09 23:00:18 +01:00
|
|
|
Bool Done
|