enderalse/scripts/source/_00e_setgamehourontriggerenter.psc

14 lines
385 B
Plaintext

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