BIS fnc playerSideFaction: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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...) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.06 | |||
| | |gr1= Sides | ||
| | |descr= Return representative faction of the given side. Faction of the first detected player is used. | ||
| | |s1= side call [[BIS_fnc_playerSideFaction]] | ||
|p1=side: [[Side]] | |p1=side: [[Side]] | ||
| [[String]] - CfgFactionClasses class | |r1= [[String]] - CfgFactionClasses class | ||
|x1= < | |x1= <sqf>west call BIS_fnc_playerSideFaction;</sqf> | ||
|seealso= [[side]] | |||
| [[side]] | |||
}} | }} | ||
Latest revision as of 15:43, 10 May 2022
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:
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