side: Difference between revisions

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


| ofp |= Game name


<h2 style="color:#000066">'''side ''unit'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Side of unit. Note: This does not change the side of the unit. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''side''' unit |= Syntax


'''unit:''' [[Object]] or [[Group]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Side]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>? (side [[player]] == [[west]]) : [[hint]] "You are on the West side."</pre> |= Example 1
____________________________________________________________________________________________


[[Side]]
|  |= See also


'''Description:'''
}}


'''Side''' of '''unit'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Note:''' This does not change the '''side''' of the unit.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SIDE]]
 
[[Category:Scripting Commands OFP 1.96|SIDE]]
? ('''side''' [[player]] == [[west]]) : [[hint]] "You are on the West side."
[[Category:Scripting Commands OFP 1.46|SIDE]]
[[Category:Scripting Commands ArmA|SIDE]]

Revision as of 23:45, 1 August 2006

Hover & click on the images for description

Description

Description:
Side of unit. Note: This does not change the side of the unit.
Groups:
Uncategorised

Syntax

Syntax:
side unit
Parameters:
unit: Object
Return Value:
Side

Examples

Example 1:
? (side [[player]] == [[west]]) : [[hint]] "You are on the West side."

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