Game logic - Time trigger – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Delayed trigger which fires after given time period. | Delayed trigger which fires after given time period. | ||
=Properties= | = Properties = | ||
===Enabled=== | === Enabled === | ||
*Trigger runs when se to enabled. Disabling it will not reset it to initial state. | *Trigger runs when se to enabled. Disabling it will not reset it to initial state. | ||
===Time=== | === Time === | ||
*Defines the time when Trigger fires according to selected type (see below) | *Defines the time when Trigger fires according to selected type (see below) | ||
===Type=== | === Type === | ||
*'''Real time seconds''' - time will define length of cycle in real seconds | *'''Real time seconds''' - time will define length of cycle in real seconds | ||
*'''In-game hours''' - time will define length of cycle in game hours | *'''In-game hours''' - time will define length of cycle in game hours | ||
Line 16: | Line 16: | ||
**Decimal format → 23.9 = 23:54 | **Decimal format → 23.9 = 23:54 | ||
===Repeat count=== | === Repeat count === | ||
*Number of cycles | *Number of cycles | ||
=Time trigger events= | = Time trigger events = | ||
*[[Ylands Tile - Time Trigger On Trigger|On Trigger]] | *[[Ylands:Tile - Time Trigger On Trigger|On Trigger]] | ||
=Related instructions= | = Related instructions = | ||
*[[Ylands Tile - Game logic enabled|Get / Set Enabled]] | *[[Ylands:Tile - Game logic enabled|Get / Set Enabled]] | ||
*[[Ylands Tile - Time trigger elapsed time|Get Elapsed Time]] | *[[Ylands:Tile - Time trigger elapsed time|Get Elapsed Time]] | ||
*[[Ylands Tile - Time trigger remaining time|Get / Set Remaining Time]] | *[[Ylands:Tile - Time trigger remaining time|Get / Set Remaining Time]] | ||
*[[Ylands Tile - Time trigger total elapsed time|Get Total Elapsed Time]] | *[[Ylands:Tile - Time trigger total elapsed time|Get Total Elapsed Time]] | ||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}} | ||
[[Category: Game Logic]] | [[Category: Game Logic]] | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] |
Latest revision as of 14:21, 24 November 2023
Description
Delayed trigger which fires after given time period.
Properties
Enabled
- Trigger runs when se to enabled. Disabling it will not reset it to initial state.
Time
- Defines the time when Trigger fires according to selected type (see below)
Type
- Real time seconds - time will define length of cycle in real seconds
- In-game hours - time will define length of cycle in game hours
- At specific time in game-day - trigger will execute at specific game hour
- 24 hour format (0 - 24)
- Decimal format → 23.9 = 23:54
Repeat count
- Number of cycles
Time trigger events
Related instructions