faction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
m (Don't know if bot for this but here I go :) Probably same as old "side" but not tested.)
Line 1: Line 1:
{{Command|= Comments
____________________________________________________________________________________________


| arma |= Game name
|1.00|= Game version
____________________________________________________________________________________________
| Gets unit faction. If faction is not defined, returns empty string |= Description
____________________________________________________________________________________________
| String <nowiki>=</nowiki> '''faction''' unitName |= Syntax
|p1=  unitName: [[Object]] or [[Group]] |= Parameter 1
|  |= Return value
____________________________________________________________________________________________
 
|x1= <pre>faction</pre> |= Example 1
____________________________________________________________________________________________
|  |= See also
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:14, 3 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Gets unit faction. If faction is not defined, returns empty string
Groups:
Uncategorised

Syntax

Syntax:
String = faction unitName
Parameters:
unitName: Object or Group
Return Value:
Return value needed

Examples

Example 1:
faction

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