Difference between revisions of "civilian"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
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

Introduced with Operation Flashpoint version1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Pre-defined variable for the civilian side

Syntax

Syntax:
civilian
Return Value:
Side

Examples

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

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section