BIS fnc sideName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
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...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Sides | |gr1 = Sides | ||
| Returns side name. | | Returns side name. | ||
| [sideNumber] call [[BIS_fnc_sideName]]; | | [sideNumber] call [[BIS_fnc_sideName]]; | ||
|p1= '''sideNumber''': [[Side]] or [[Number]] - either side or side ID | |p1= '''sideNumber''': [[Side]] or [[Number]] - either side or side ID | ||
| [[String]] | | [[String]] | ||
|x1= <code>[2] [[call]] [[BIS_fnc_sideName]];</code> | |x1= <code>[2] [[call]] [[BIS_fnc_sideName]];</code> | ||
|[[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] | |[[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]] | ||
}} | }} |
Revision as of 23:48, 17 January 2021
Description
Syntax
- Syntax:
- [sideNumber] call BIS_fnc_sideName;
- Parameters:
- sideNumber: Side or Number - either side or side ID
- Return Value:
- String
Examples
- Example 1:
[2] call BIS_fnc_sideName;
Additional Information
- See also:
- sidecountSideCfgVehicles config side valueSideplayerSidewesteastresistanceciviliansideLogicsideFriendlysideEnemysideUnknownsideEmptysideAmbientLifeSide relations
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