or: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|OR]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|OR]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|OR]]
[[Category:Scripting Commands ArmA|OR]]


| ofp |= Game name


<h2 style="color:#000066">''a '''''or ''b'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| a or b |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''a''' |= Syntax


'''a:''' [[Boolean]]
|p1= a: [[Boolean]] |= Parameter 1


'''b:''' [[Boolean]]
|p2= b: [[Boolean]] |= Parameter 2


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[[if]] ([[not]] ([[canMove]] tank1) or [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Description:'''
}}


a '''or'''  b
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


[[if]] ([[not]] ([[canMove]] tank1) '''or''' [[not]] ([[canMove]] tank2)) [[then]] {[[hint]] "Our armour is being immobilsed!"}
[[Category:Scripting Commands|OR]]
[[Category:Scripting Commands OFP 1.96|OR]]
[[Category:Scripting Commands OFP 1.46|OR]]
[[Category:Scripting Commands ArmA|OR]]

Revision as of 23:03, 1 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