Tile - YTime - Time Scale – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Time scale to Ylands:Tile - YTime - Time Scale: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Time_scale.png]]
<!---
*Allows to '''get''' / '''set'''  scale of one in-game '''day''' compared to '''real''' day duration.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Time Scale ==


=Notes=
[[File:YlandsTile-160-get.png]]
*Time '''scale''' means how '''faster''' / '''slower''' the in-game time runs '''compared''' to '''real time'''.
 
*It's '''inverse''' function of [[Ylands Tile - Day duration|'''Day Duration''']]
[[File:YlandsTile-160-set.png]]
**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.
<pre>static get timeScale(): number;
static set timeScale(value: number);</pre>
=== 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.




Line 14: Line 27:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 09:51, 8 July 2021

Time Scale

YlandsTile-160-get.png

YlandsTile-160-set.png

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

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.