Tile - Boolean Composition Expression – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


=Notes=
=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 [[Ylands Tile - Conditional Statement|'''If-Else''']].
*See also [[Ylands Tile - Conditional Statement|'''If-Else''']].



Revision as of 19:20, 11 December 2018

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