faction
Jump to navigation
Jump to search
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
- Syntax:
- String = faction unitName
- Parameters:
- unitName: Object or Group
- Return Value:
- String. See above.
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