or: Difference between revisions

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

Revision as of 21:19, 1 June 2006


a or b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a or b


Example:

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