a or b: Difference between revisions

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

Revision as of 19:29, 1 June 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!"}