Tile - If No Else – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
*It is possible to '''add''' / '''remove''' '''statements''' via context menu (right click on block)
*It is possible to '''add''' / '''remove''' '''statements''' via context menu (right click on block)
**'''If''' - sequence to be executed, if a specified condition is true.
**'''If''' - sequence to be executed, if a specified condition is true.
**'''Else if''' - sequence condition to test, if previous condition is false.
**'''Else if''' - sequence condition to test, if previous condition was false.
**'''Else''' - sequence to be executed, if or all conditions fail.
**'''Else''' - sequence to be executed, if or all conditions fail.



Revision as of 18:08, 11 December 2018

Ylands Tile - Conditional Statement.png

  • Condition statement allows to execute specific instructions sequence if certain conditions are met.
  • It is possible to add / remove statements via context menu (right click on block)
    • If - sequence to be executed, if a specified condition is true.
    • Else if - sequence condition to test, if previous condition was false.
    • Else - sequence to be executed, if or all conditions fail.

Notes

See also: Comparison, Composition, Not



Template:Ylands scripting navbox