and: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 11:50, 2 November 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