faction: Difference between revisions
Jump to navigation
Jump to search
m (Oops, there was none! :)) |
m (Improved page layout.) |
||
Line 9: | Line 9: | ||
| Gets unit faction. Standard Factions include: <br/> | | Gets unit faction. Standard Factions include: <br/> | ||
'''Arma 2''': | '''Arma 2''': | ||
* West: "USMC", "CDF" | |||
* East: "RU", "INS" | |||
* Guer: "GUE" | |||
* Civ: "CIV", "CIV_RU" | |||
'''Arma 2: Operation Arrowhead''': | '''Arma 2: Operation Arrowhead''': | ||
* West: "BIS_US", "BIS_CZ", "BIS_GER" | |||
* East: "BIS_TK", "BIS_TK_INS" | |||
* Guer: "BIS_TK_GUE", "BIS_UN" | |||
* Civ: "BIS_TK_CIV", "BIS_CIV_special" | |||
''DLC Factions''<br/> | ''DLC Factions''<br/> | ||
'''Arma 2: British Armed Forces''': | '''Arma 2: British Armed Forces''': | ||
* West: "BIS_BAF" | |||
* Guer: "PMC_BAF" | |||
'''Arma 2: Private Military Company''': | '''Arma 2: Private Military Company''': | ||
* None | |||
Factions are defined under cfgFactionClasses. If faction is not defined, returns empty string. |= Description | Factions are defined under cfgFactionClasses. If the given faction is not defined, the command returns empty string. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:18, 6 March 2011
Description
- Description:
- Gets unit faction. Standard Factions include:
Arma 2:- West: "USMC", "CDF"
- East: "RU", "INS"
- Guer: "GUE"
- Civ: "CIV", "CIV_RU"
- West: "BIS_US", "BIS_CZ", "BIS_GER"
- East: "BIS_TK", "BIS_TK_INS"
- Guer: "BIS_TK_GUE", "BIS_UN"
- Civ: "BIS_TK_CIV", "BIS_CIV_special"
Arma 2: British Armed Forces:- West: "BIS_BAF"
- Guer: "PMC_BAF"
- None
- 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. It always returns the 'country of manufacture'.