or: Difference between revisions

From Bohemia Interactive Community
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

Hover & click on the images for description

Description

Description:
a or b
Groups:
Uncategorised

Syntax

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

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

Notes

Bottom Section