faction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) (TODO completed: table delivered and reinforced with Contact!) |
||
Line 3: | Line 3: | ||
| arma2 |Game name= | | arma2 |Game name= | ||
|arg= global|Multiplayer Arguments= | |||
|arg= global |Multiplayer Arguments= | |||
|1.00|Game version= | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Gets unit faction. Factions are defined under ''CfgFactionClasses''. | | Gets unit faction. Factions were introduced in {{arma2}} and are defined under ''CfgFactionClasses''. | ||
{{{!}} class{{=}}"bikitable" style{{=}}"font-size: 0.9em; white-space: nowrap" | |||
! Side | |||
! {{GVI|arma2|1.00}} | |||
! {{GVI|arma2oa|1.50}} | |||
! {{GVI|arma3|1.00}} | |||
! {{GVI|arma3|1.62}} Apex | |||
{{!}}- | |||
{{!}} style{{=}}"text-align: center" {{!}} [[west]]/[[blufor]] | |||
{{!}} <!-- Arma 2 --> | |||
* USMC | |||
* CDF | |||
{{!}} <!-- Arma 2 OA --> | |||
* BIS_US | |||
* BIS_CZ | |||
* BIS_GER | |||
* BIS_BAF (BAF DLC) | |||
{{!}} <!-- Arma 3 --> | |||
* BLU_F (NATO) | |||
* BLU_G_F (FIA) | |||
* BLU_W_F (Woodland NATO, Contact DLC) | |||
{{!}} <!-- Arma 3 Apex --> | |||
* BLU_T_F (Pacific NATO) | |||
* BLU_CTRG_F (Pacific CTRG) | |||
* BLU_GEN_F (Gendarmerie) | |||
{{!}}- | |||
{{!}} style{{=}}"text-align: center" {{!}} [[east]]/[[opfor]] | |||
{{!}} <!-- Arma 2 --> | |||
* INS (ChDKZ) | |||
* RU (Russia) | |||
{{!}} <!-- Arma 2 OA --> | |||
* BIS_TK (Takistan army) | |||
* BIS_TK_INS (TK insurgents) | |||
{{!}} <!-- Arma 3 --> | |||
* OPF_F (Iranian CSAT) | |||
* OPF_G_F (FIA) | |||
* OPF_R_F (Spetznatz, Contact DLC) | |||
{{!}} <!-- Arma 3 Apex --> | |||
* OPF_T_F (Chinese CSAT) | |||
{{!}}- | |||
{{!}} style{{=}}"text-align: center" {{!}} [[resistance]]/<br>[[independent]] | |||
{{!}} <!-- Arma 2 --> | |||
* GUE (Guerilla) | |||
{{!}} <!-- Arma 2 OA --> | |||
* BIS_TK_GUE | |||
* BIS_UN (United Nations) | |||
* PMC_BAF (PMC DLC) | |||
{{ | {{!}} <!-- Arma 3 --> | ||
* | * IND_F (AAF) | ||
* | * IND_G_F (FIA) | ||
* | * IND_E_F (LDF, Contact DLC) | ||
* | * IND_L_F (Looters, Contact DLC) | ||
{{ | {{!}} <!-- Arma 3 Apex --> | ||
* IND_C_F (Syndikat) | |||
* | |||
{{!}}- | |||
{{!}} style{{=}}"text-align: center" {{!}} [[civilian]] | |||
{{!}} <!-- Arma 2 --> | |||
* | * CIV | ||
* CIV_RU | |||
{{ | {{!}} <!-- Arma 2 OA --> | ||
* | * BIS_TK_CIV | ||
* | * BIS_CIV_special | ||
{{!}} <!-- Arma 3 --> | |||
* CIV_F | |||
* | * CIV_IDAP_F (Laws of War DLC) | ||
* | |||
{{ | {{!}} style{{=}}"text-align: center" {{!}} <!-- Arma 3 Apex --> | ||
- | |||
{{!}}} | |||
|DESCRIPTION= | {{Informative | If a unit's faction is not defined in its config, an empty string is returned.}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[faction]] unitName |SYNTAX= | ||
|p1= unitName: [[Object]] |PARAMETER1= | |p1= unitName: [[Object]] |PARAMETER1= | ||
Line 56: | Line 113: | ||
| [[side]], [[Side]] |SEEALSO= | | [[side]], [[Side]] |SEEALSO= | ||
}} | }} | ||
Revision as of 22:17, 6 September 2019
Description
- Description:
- Gets unit faction. Factions were introduced in Arma 2 and are defined under CfgFactionClasses.
Side 1.00 1.50 1.00 1.62 Apex west/blufor - USMC
- CDF
- BIS_US
- BIS_CZ
- BIS_GER
- BIS_BAF (BAF DLC)
- BLU_F (NATO)
- BLU_G_F (FIA)
- BLU_W_F (Woodland NATO, Contact DLC)
- BLU_T_F (Pacific NATO)
- BLU_CTRG_F (Pacific CTRG)
- BLU_GEN_F (Gendarmerie)
east/opfor - INS (ChDKZ)
- RU (Russia)
- BIS_TK (Takistan army)
- BIS_TK_INS (TK insurgents)
- OPF_F (Iranian CSAT)
- OPF_G_F (FIA)
- OPF_R_F (Spetznatz, Contact DLC)
- OPF_T_F (Chinese CSAT)
resistance/
independent- GUE (Guerilla)
- BIS_TK_GUE
- BIS_UN (United Nations)
- PMC_BAF (PMC DLC)
- IND_F (AAF)
- IND_G_F (FIA)
- IND_E_F (LDF, Contact DLC)
- IND_L_F (Looters, Contact DLC)
- IND_C_F (Syndikat)
civilian - CIV
- CIV_RU
- BIS_TK_CIV
- BIS_CIV_special
- CIV_F
- CIV_IDAP_F (Laws of War DLC)
-
- 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'.