faction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 42: | Line 42: | ||
* "CIV_IDAP_F" | * "CIV_IDAP_F" | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''faction''' unitName |= | | '''faction''' unitName |SYNTAX= | ||
|p1= unitName: [[Object]] |= | |p1= unitName: [[Object]] |PARAMETER1= | ||
| [[String]] |= | | [[String]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_playersFaction = [[faction]] [[player]];</code> |= | |x1= <code>_playersFaction = [[faction]] [[player]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[side]], [[Side]] |= | | [[side]], [[Side]] |SEEALSO= | ||
}} | }} |
Revision as of 14:39, 7 April 2019
Description
- Description:
- Gets unit faction. Factions are defined under CfgFactionClasses. If the given faction is not defined, the command returns empty string. Standard Factions include:
1.00 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"
- West: "BIS_BAF"
- Guer: "PMC_BAF"
- West: "BLU_F" (NATO), "BLU_G_F" (FIA)
- East: "OPF_F" (CSAT), "OPF_G_F" (FIA)
- Guer: "IND_F" (AAF), "IND_G_F" (FIA)
- Civ: "CIV_F" (Civilians)
- West: "BLU_T_F" (Pacific NATO), "BLU_CTRG_F" (Pacific CTRG), "BLU_GEN_F" (Gendarmerie)
- East: "OPF_T_F"
- Guer: "IND_C_F" (Syndikat)
- "CIV_IDAP_F"
- Groups:
- Uncategorised
Syntax
Examples
Additional Information
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'.