Difference between revisions of "BIS fnc playerSideFaction"

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>

Latest revision as of 12:13, 21 June 2018

Introduced with Arma 3 version1.06
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.06

Description

Description:
Return representative faction of the given side. Faction of the first detected player is used.

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

Execution:
call
Multiplayer:
-
See also:
side

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To


Notes

Bottom Section