SetTimeOfDayScale
- Parameters
-
r real
new scaling factor
- comment
-
Sets the speed of the in-game day/night time.
By default:
1.0
or 100%.2.0
would make it twice as fast. - bug
-
A negative scaling factor is applied and the time ticks backwards until 00:00 is reached. Then the time freezes at 00:00, the day does not progress backwards.
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native SetTimeOfDayScale takes real r returns nothing