then
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint: Resistance
- Version:
- 1.85
Description
- Description:
- First or second element of array is executed depending on result of if condition. Result of the expression executed is returned as a result (result may be Nothing).
Syntax
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- Control Structures, if, else
Notes
Notes
Notes
- Ceeeb
- Any variables you declare within the body of an if/then statement (ie between the curly braces) are local to that 'if' statement, and are destroyed at the end of the statement. If you know you want to use the variable outside the 'if' statement, make sure your declare it before the 'if' statement.

