faction: Difference between revisions
Jump to navigation
Jump to search
(Does not work for groups http://dev-heaven.net/issues/show/5414) |
Tankbuster (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate"></dd> | |||
<dt class="note">'''[[User:Tankbuster|Tankbuster]]'''</dt> | |||
<dd class="note">Faction behaves slightly differently to [[side]]. Side can refer to the pilot or commander of a vehicle, but faction never changes. </dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 16:56, 19 March 2010
Description
- Description:
- Gets unit faction. Standard factions in Arma 2 are: "USMC", "INS", "CDF", "RU", "CIV", "GUE", "CIV_RU". Factions are defined under cfgFactionClasses. If faction is not defined, returns empty string.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_faction = faction _object;
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
- Tankbuster
- Faction behaves slightly differently to side. Side can refer to the pilot or commander of a vehicle, but faction never changes.