BIS fnc playerSideFaction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.06 | |1.06 | ||
|gr1 = Sides | |gr1 = Sides | ||
| Return representative faction of the given side. Faction of the first detected player is used. | | Return representative faction of the given side. Faction of the first detected player is used. | ||
| side call [[BIS_fnc_playerSideFaction]] | | side call [[BIS_fnc_playerSideFaction]] | ||
|p1=side: [[Side]] | |p1=side: [[Side]] | ||
| [[String]] - CfgFactionClasses class | | [[String]] - CfgFactionClasses class | ||
|x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code> | |x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code> | ||
| [[side]] | | [[side]] | ||
}} | }} | ||
Revision as of 23:38, 17 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