BIS fnc playerSideFaction: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Sides |GROUP1= | |gr1 = Sides |GROUP1= | ||
| Return representative faction of the given side. Faction of the first detected player is used.|Description= | | Return representative faction of the given side. Faction of the first detected player is used.|Description= | ||
| side call [[BIS_fnc_playerSideFaction]] |Syntax= | | side call [[BIS_fnc_playerSideFaction]] |Syntax= | ||
Line 17: | Line 14: | ||
| [[String]] - CfgFactionClasses class |Return value= | | [[String]] - CfgFactionClasses class |Return value= | ||
|x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code>|Example 1= | |x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code>|Example 1= | ||
| [[side]] |See also= | | [[side]] |See also= |
Revision as of 23:51, 16 January 2021
Description
- Description:
- Return representative faction of the given side. Faction of the first detected player is used.
- Execution:
- call
- Groups:
- Sides
Syntax
- Syntax:
- side call BIS_fnc_playerSideFaction
- Parameters:
- side: Side
- Return Value:
- String - CfgFactionClasses class
Examples
- Example 1:
west call BIS_fnc_playerSideFaction;
Additional Information
- See also:
- side
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