pauseDayClock
pauseDayClock(
authority,options?):void
Holds the world’s hour where it stands until resumeDayClock, as a
cutscene or a menu over the game may: the sun stops, and so does every
rule that reads the hour. A paused clock stays paused. Throws as
setTimeOfDay does where no clock is found.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
authority |
Authority |
undefined |
options |
TimeOfDayOptions |
noOptions |
Returns
Section titled “Returns”void