then: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands]] | |||
[[Category:Scripting Commands OFP 1.97]] | |||
[[Category:Scripting Commands ArmA]] | |||
back to [[Scripting_Reference#T|COMREF]] | back to [[Scripting_Reference#T|COMREF]] | ||
Revision as of 15:44, 19 April 2006
back to COMREF
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).
Example: