BIS fnc playerSideFaction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
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

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


Notes

Bottom Section