BIS fnc playerSideFaction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Sides
|gr1= Sides


| Return representative faction of the given side. Faction of the first detected player is used.
|descr= Return representative faction of the given side. Faction of the first detected player is used.


|s1=  side call [[BIS_fnc_playerSideFaction]]
|s1=  side call [[BIS_fnc_playerSideFaction]]

Revision as of 21:49, 13 June 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