or: Difference between revisions
Jump to navigation
Jump to search
m (fixed example) |
m (added example from history) |
||
Line 20: | Line 20: | ||
|x1= <code>[[if]] ([[not]] ([[canMove]] tank1) '''or''' [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}</code> |= Example 1 | |x1= <code>[[if]] ([[not]] ([[canMove]] tank1) '''or''' [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}</code> |= Example 1 | ||
|x2= <code> [[not]] [[alive]] [[player]] '''or''' [[not]] [[alive]] [[leader]] [[player]] </code> |=Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:45, 3 October 2006
Description
- Description:
- a or b
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (not (canMove tank1) or not (canMove tank2)) then {hint "Our armour is being immobilsed!"}
- Example 2:
not alive player or not alive leader player
Additional Information
- See also:
- See also needed
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