or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (fixed example)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[[if]] ([[not]] ([[canMove]] tank1) or [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}</pre> |= Example 1
|x1= <code>[[if]] ([[not]] ([[canMove]] tank1) '''or''' [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:57, 4 August 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!"}

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