Tile - Boolean Composition Expression – Ylands

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


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


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

Revision as of 05:07, 26 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.



Template:Ylands editor navbox