a && b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (+ Biki links to Example)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <pre>if (alive player && alive leader player) then {hint "Both the player and his leader are alive"}</pre> |=
|x1= <code>[[if]] ([[alive]] [[player]] && [[alive]] [[leader_unit|leader]] [[player]]) [[then]] {[[hint]] "Both the player and his leader are alive"}</code> |=


| [[and]] |= See also
| [[and]] |= See also

Revision as of 13:52, 8 September 2006

Hover & click on the images for description

Description

Description:
a and b 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:
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