Tile - Call Delayed Function – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
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.
=== Availability ===
*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.
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]
 
=== 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.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


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

Latest revision as of 15:23, 24 November 2023

Call Delayed Function

YlandsTile-290.png

Availability

Client, Server

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.