a or b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]
 
[[Category:Command_Group:_Math]]


<h2 style="color:#000066">''' ''a'' || ''b'' '''</h2>
<h2 style="color:#000066">''' ''a'' || ''b'' '''</h2>

Revision as of 20:26, 9 August 2006


a || b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a or b

See also or


Example:

if (not (canMove tank1) || not (canMove tank2)) then {hint "Our armour is being immobilsed!"}