Tile - YTime - Time Scale – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}}")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Time Scale ==
[[File:YlandsTile-160-get.png]]
[[File:YlandsTile-160-set.png]]
<pre>static get timeScale(): number;
static set timeScale(value: number);</pre>
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]
=== 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.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}
 
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

Time Scale

YlandsTile-160-get.png

YlandsTile-160-set.png

static get timeScale(): number;
static set timeScale(value: number);

Availability

Server

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.