Tile - Call Delayed Function – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Delayed function to Ylands:Tile - Call Delayed Function: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Delayed_function.png]]
<!---
*Instruction '''sequence''' defined within the Delay frame will be '''executed''' after given time '''delay'''.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*'''Duration In Real Time Seconds:'''
-->
**Amount of seconds, after which the sequence will be executed.
== Call Delayed Function ==
*'''Duration In Game Hours:'''
**Amount of in-game hours, after which the sequence will be executed.
*'''At Specific In Game Hour:'''
**Fixed Game Hour, when the sequence will be executed.
**See [[Ylands Tile - Game hour|'''Get / Set Game Hour''']] for further information.


=Notes=
[[File:YlandsTile-290.png]]
*Delayed instructions '''do not store''' variables at the '''moment of''' delay '''creation''', they '''execute''' with '''values actual''' to the time of '''delay call'''.
 
**For example, if players HP change during the delay, sequence will execute with actual HP and not with HP when Delay was created.
=== Description ===
*Delay tile does not allow to add any more instruction after.
 
*It is possible to place Delay tiles into each other, to create a sequence, but [[Ylands Game logic - Time trigger|'''Time Trigger''']] is proffered way.
Instruction '''sequence''' defined within the Delay frame will be '''executed''' after given time '''delay'''.
 
=== Notes ===
 
'''Duration In Real Time Seconds:'''
 
* Amount of seconds, after which the sequence will be executed. '''Duration In Game Hours:'''
* Amount of in-game hours, after which the sequence will be executed. '''At Specific In Game Hour:'''
* Fixed Game Hour, when the sequence will be executed.
* Delayed instructions '''do not store''' variables at the '''moment of''' delay '''creation''', they '''execute''' with '''values actual''' to the time of '''delay call'''. For example, if players HP change during the delay, sequence will execute with actual HP and not with HP when Delay was created.
* Delay tile does not allow to add any more instruction after.
* It is possible to place Delay tiles into each other, to create a sequence, but '''Time Trigger''' is the preferred way.




Line 21: Line 27:


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

Revision as of 08:51, 8 July 2021

Call Delayed Function

YlandsTile-290.png

Description

Instruction sequence defined within the Delay frame will be executed after given time delay.

Notes

Duration In Real Time Seconds:

  • Amount of seconds, after which the sequence will be executed. Duration In Game Hours:
  • Amount of in-game hours, after which the sequence will be executed. At Specific In Game Hour:
  • Fixed Game Hour, when the sequence will be executed.
  • Delayed instructions do not store variables at the moment of delay creation, they execute with values actual to the time of delay call. For example, if players HP change during the delay, sequence will execute with actual HP and not with HP when Delay was created.
  • Delay tile does not allow to add any more instruction after.
  • It is possible to place Delay tiles into each other, to create a sequence, but Time Trigger is the preferred way.