civilian: Difference between revisions

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


| ofp |= Game name


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


| Pre-defined variable for the civilian side |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''civilian''' |= Syntax


None
| [[Side]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>?((side _unit)==civilian) : hint "This is a civilian unit!"</pre> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
|  |= See also


[[Side]]
}}


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


The Civilian side.
<!-- Note Section END -->
</dl>


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


'''Example:'''
[[Category:Scripting Commands|CIVILIAN]]
 
[[Category:Scripting Commands OFP 1.96|CIVILIAN]]
? (([[side]] manOne) != '''civilian''') : [[hint]] "Unit is a soldier"
[[Category:Scripting Commands OFP 1.46|CIVILIAN]]
 
[[Category:Scripting Commands ArmA|CIVILIAN]]
 
'''Note:'''
 
Returned value for civilian unit (using [[side]] command) is '''CIV'''.

Revision as of 22:39, 1 August 2006

Hover & click on the images for description

Description

Description:
Pre-defined variable for the civilian side
Groups:
Uncategorised

Syntax

Syntax:
civilian
Return Value:
Side

Examples

Example 1:
?((side _unit)==civilian) : hint "This is a civilian unit!"

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