faction

From Bohemia Interactive Community
Revision as of 04:47, 16 June 2009 by Kronzky (talk | contribs) (add. classification)
Jump to navigation Jump to search
Hover & click on the images for description

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

Notes

Bottom Section