a && b: Difference between revisions
Jump to navigation
Jump to search
m (Fixed link) |
m (added description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns whether to values both are <tt>true</tt>. | ||
This is exactly the same as a [[and]] b |= Description | This is exactly the same as a [[and]] b |= Description | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= 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"; | |||
} |= | |||
| [[and]] |= See also | | [[and]] |= See also |
Revision as of 09:33, 12 December 2006
Description
- Description:
- Returns whether to values both are true. This is exactly the same as a and b
- Groups:
- Uncategorised
Syntax
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