Tile - YTime - Game Hour – Ylands
Category: Instructions
| Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") | Lou Montana (talk | contribs)  m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") | ||
| (4 intermediate revisions by 2 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. | |||
| --> | |||
| == Game Hour == | |||
| =Notes= | [[File:YlandsTile-159-get.png]] | ||
| *Time is represented in '''24 hour''' format. | |||
| *Current hour is expressed by '''decimal number'''. | [[File:YlandsTile-159-set.png]] | ||
| <pre>static get gameHour(): number; | |||
| static set gameHour(value: number);</pre> | |||
| === Availability === | |||
| [[Ylands:Tile Availability - Server|Server]] | |||
| === Description === | |||
| Allows to '''get''' / '''set''' current in-game '''time''' | |||
| === Notes === | |||
| * Time is represented in '''24 hour''' format. | |||
| * Current hour is expressed by '''decimal number'''. | |||
| * E.g.: if time value is 9.5, it means 9:30 in-game; if time value is 9.75, it is 9:45 in-game. | |||
| ---- | ---- | ||
| {{Ylands  | {{Navbox/Ylands}} | ||
| {{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
| [[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:27, 24 November 2023
Game Hour
static get gameHour(): number; static set gameHour(value: number);
Availability
Description
Allows to get / set current in-game time
Notes
- Time is represented in 24 hour format.
- Current hour is expressed by decimal number.
- E.g.: if time value is 9.5, it means 9:30 in-game; if time value is 9.75, it is 9:45 in-game.
 
	
