Tile - YTime - Time Scale – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
<pre>static get timeScale(): number; | <pre>static get timeScale(): number; | ||
static set timeScale(value: number);</pre> | static set timeScale(value: number);</pre> | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 24: | Line 28: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
Time Scale
static get timeScale(): number; static set timeScale(value: number);
Availability
Description
Allows to get / set scale of one in-game day compared to real day duration.
Notes
- Time scale means how faster / slower the in-game time runs compared to real time.
- It's inverse function of Day Duration
- Values above 1 mean that in-game time runs faster than real time, values below 1 mean, that in-game time runs slower than real time
- E.g. scale set to 24 will result in in-game day length of 1 hour.