a && b: 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|#]]
[[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:28, 1 June 2006


a && b


Operand types:

a: Boolean

b: Boolean

Type of returned value:

Boolean

Description:

a and b

This is exactly the same as a and b


Example:

if (alive player && alive leader player) then {hint "Both the player and his leader are alive"}