faction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{GVI|arma2oa|1.51}}" to "{{GVI|arma2oa|1.50}}") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 101: | Line 101: | ||
{{Feature | Informative | If a unit's faction is not defined in its config, an empty string is returned.}} | {{Feature | Informative | If a unit's faction is not defined in its config, an empty string is returned.}} | ||
|s1= | |s1= [[faction]] unitName | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] |
Revision as of 22:03, 19 June 2021
Description
- Description:
- Gets unit faction. Factions were introduced in Arma 2 and are defined under CfgFactionClasses.
Side 1.00 1.50 1.96 west/blufor - USMC
- CDF
- BIS_US
- BIS_CZ
- BIS_GER
- BIS_BAF (BAF DLC)
- BLU_F (NATO)
- BLU_G_F (FIA)
- BLU_T_F (Pacific NATO, Apex Expansion)
- BLU_CTRG_F (Pacific CTRG, Apex Expansion)
- BLU_GEN_F (Gendarmerie, Apex Expansion)
- BLU_W_F (Woodland NATO, Contact Expansion)
east/opfor - INS (ChDKZ)
- RU (Russia)
- BIS_TK (Takistan army)
- BIS_TK_INS (TK insurgents)
- OPF_F (Iranian CSAT)
- OPF_G_F (FIA)
- OPF_T_F (Chinese CSAT, Apex Expansion)
- OPF_R_F (Spetznatz, Contact Expansion)
resistance/
independent- GUE (Guerilla)
- BIS_TK_GUE
- BIS_UN (United Nations)
- PMC_BAF (PMC DLC)
- IND_F (AAF)
- IND_G_F (FIA)
- IND_C_F (Syndikat, Apex Expansion)
- IND_E_F (LDF, Contact Expansion)
- IND_L_F (Looters, Contact Expansion)
civilian - CIV
- CIV_RU
- BIS_TK_CIV
- BIS_CIV_special
- CIV_F
- CIV_IDAP_F (Laws of War DLC)
- Groups:
- Object ManipulationSides
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
- 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'.