From Bohemia Interactive Community
|
|
Line 3: |
Line 3: |
| [[Category:Scripting Commands ArmA|I]] | | [[Category:Scripting Commands ArmA|I]] |
|
| |
|
| back to [[Scripting_Reference#I|COMREF]]
| |
|
| |
|
| <h2 style="color:#000066">'''if ''condition'''''</h2> | | <h2 style="color:#000066">'''if ''condition'''''</h2> |
Revision as of 13:13, 23 April 2006
if condition
Operand types:
condition: Boolean
Type of returned value:
If Type
Compatibility:
Added in version 1.85
Description:
First part of if command.
Example:
if (a>b) then {a=b}
Comments:
Standard syntax = if a then b
Alternative syntax = ? a : b