a && b

From Bohemia Interactive Community
Revision as of 14:03, 12 December 2006 by Planck (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns whether two values both are true. This is exactly the same as a and b
Groups:
Uncategorised

Syntax

Syntax:
a && b
Parameters:
a: Boolean
b: Boolean
Return Value:
Boolean

Examples

Example 1:
Checks whether the player and his leader are alive. if (alive player && alive leader player) then { hint "Both the player and his leader are alive"; }

Additional Information

See also:
and

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