Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
then - OFPEC Scripting Command Reference | OFPEC The Editing Center

if then codeToBreak

Operand types

if: If Type
codeToBreak: Code

Type of returned value

Description

Code is executed when if condition is met.
If code is executed, last value calculated in the code is returned.
If code is not executed, Nothing is returned.

Used In

OFP/ArmA

Example

if (a>b) then {c=1}

Advertisement