and: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 42: Line 42:
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:08, 19 July 2011

Hover & click on the images for description

Description

Description:
Returns "true" only if both conditions are true
Multiplayer:
no special considerations
Groups:
Uncategorised

Syntax

Syntax:
Boolean = a and b
Parameters:
a: Boolean
b: Boolean
Return Value:
Boolean

Examples

Example 1:
if ((alive player) and (_enemycount == 0)) then {hint "you win !"}

Additional Information

See also:
a && borOperators

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section