faction: Difference between revisions
Jump to navigation
Jump to search
Dr Eyeball (talk | contribs) (list factions) |
(add. classification) |
||
Line 34: | Line 34: | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 03:47, 16 June 2009
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