SetTimeRatio
Sets how fast the world clock runs.
Syntax
Section titled “Syntax”SetTimeRatio(ratio)| Parameter | Type | |
|---|---|---|
ratio |
number | game seconds per real second; 15 = the game’s own pace, 0 = frozen |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”SetTimeRatio(0) -- high noon for everSetTimeRatio(60) -- a day in 24 minutesSee also
Section titled “See also”GetTimeRatio · SetWorldTime · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
