BIS fnc playerSideFaction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
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|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.06|Game version=
|1.06


|gr1 = Sides |GROUP1=
|gr1 = Sides


| 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.


| side call [[BIS_fnc_playerSideFaction]] |Syntax=
| side call [[BIS_fnc_playerSideFaction]]


|p1=side: [[Side]] |Parameter 1=
|p1=side: [[Side]]


| [[String]] - CfgFactionClasses class |Return value=
| [[String]] - CfgFactionClasses class


|x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code>|Example 1=
|x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code>




| [[side]] |See also=
| [[side]]
}}
}}



Revision as of 23:38, 17 January 2021

Hover & click on the images for description

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


Bottom Section