BIS fnc playerSideFaction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 > 1.06 http://dev.arma3.com/post/spotrep-00015)
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.06|= Game version
|1.06|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return representative faction of the given side. Faction of the first detected player is used.|Description=
 
____________________________________________________________________________________________
Description:
Return representative faction of the given side.
Faction of the first detected player is used.


Parameter(s):
| side call [[BIS_fnc_playerSideFaction]] |Syntax=
0: SIDE


Returns:
|p1=side: [[Side]]  |Parameter 1=
STRING - CfgFactionClasses class
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[String]] - CfgFactionClasses class |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_playerSideFaction]]; --> |= Syntax
|x1= <code>[[west]] [[call]] [[BIS_fnc_playerSideFaction]];</code>|Example 1=
 
|p1= |= Parameter 1


| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[side]]  |See also=
____________________________________________________________________________________________
}}
 
| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 12:13, 21 June 2018

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:
Uncategorised

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