Tile - Boolean Composition Expression – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
----
----
{{Ylands scripting navbox}}
{{Ylands scripting navbox}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


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

Revision as of 14:10, 3 January 2019

Ylands Tile - Boolean composition.png

  • Composition operators can be used in Conditional Statement to determine the logic between two conditions and take action depending on the result.
    • AND - both conditions have to be true
    • OR - at least one of the conditions have to be true

Notes

  • In case of AND, if first condition fails, then the second one is not executed at all.
  • In case of OR, if first condition succeed, then the second one is not executed at all.
  • See also If-Else.



Template:Ylands scripting navbox