Tile - Loop While

From Bohemia Interactive Community
Jump to navigation Jump to search

Loop While

YlandsTile-199.png

Description

While loop will execute selected instruction sequence as long as a specified condition is true. It is crucial to set correct escape condition, otherwise the loop will continue indefinitely and will impact the script's performance. Alternatively, it is possible to use the Break instruction to jump out of the loop.

Notes

  • There is an internal limit to all loops to break out after one milion iterations.