enderalse/source/scripts/_00e_setgamehourontriggerenter.psc

14 lines
345 B
Plaintext

Scriptname _00E_SetGamehourOnTriggerEnter extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF && Done == False
Done = True
_00E_TimeControl.SkipTimeToHour(__Config_DesiredTime)
Disable()
EndIf
EndEvent
Actor Property PlayerREF Auto
Float Property __Config_DesiredTime Auto
Bool Done