BIS fnc sideName: Difference between revisions
Jump to navigation
Jump to search
(named params, fixed missing see also, added 2nd example) |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|version1= 1.00 | |version1= 1.00 | ||
|gr1 = Sides | |gr1= Sides | ||
|descr= Returns localized side name. | |descr= Returns localized side name. |
Revision as of 12:48, 11 April 2021
Description
- Description:
- Returns localized side name.
- 0 / opfor (east) = "OPFOR"
- 1 / blufor (west) = "BLUFOR"
- 2 / independent (resistance) = "Independent"
- 3 / civilian = "Civilian"
- 4 / sideUnknown = "Unknown"
- 5 / sideEnemy = "Enemy"
- 6 / sideFriendly = "Friendly"
- 7 / sideLogic = "Game Logic"
- 8 / sideEmpty = "Empty"
- 9 / sideAmbientLife = "Ambient life"
- Execution:
- call
- Groups:
- Sides
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;
- Example 2:
[independent] 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