Tile - Boolean Composition Expression – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
Line 11: Line 11:


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


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

Revision as of 05:49, 30 December 2020

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.