then: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Category added) |
||
Line 2: | Line 2: | ||
[[Category:Scripting Commands OFP 1.96|THEN]] | [[Category:Scripting Commands OFP 1.96|THEN]] | ||
[[Category:Scripting Commands ArmA|THEN]] | [[Category:Scripting Commands ArmA|THEN]] | ||
[[Category:Control Flows ArmA|THEN]] | |||
Revision as of 18:47, 21 July 2006
if then else
Operand types:
if: If Type
else: Array
Type of returned value:
Compatibility:
Added in version 1.85
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).
Examples: