BIS fnc sideNameUnlocalized: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 3/7)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Sides


|1.00|= Game version
|descr= Returns unlocalized side name.
____________________________________________________________________________________________


| <pre>/*
|s1= input call [[BIS_fnc_sideNameUnlocalized]]
Author:
Killzone_Kid


Description:
|p1= input: [[Number]] or [[Side]] - side ID or [[side]]
Returns unlocalized side name


Parameter(s):
|r1= [[String]] - unlocalized name
0: NUMBER or SIDE - either side ID or side type


Returns:
|x1= <sqf>west call BIS_fnc_sideNameUnlocalized;//Returns "WEST"</sqf>
STRING
*/


/// --- engine constants
|x2= <sqf>0 call BIS_fnc_sideNameUnlocalized;//Returns "EAST"</sqf>
#define SIDES_ENUM [east, west, independent, civilian, sideUnknown, sideEnemy, sideFriendly, sideLogic, sideEmpty, sideAmbientLife]
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_sideNameUnlocalized]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[side]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Sides|{{uc:sideNameUnlocalized}}]]
[[Category:Functions|{{uc:sideNameUnlocalized}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sideNameUnlocalized}}]]

Latest revision as of 15:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns unlocalized side name.
Execution:
call
Groups:
Sides

Syntax

Syntax:
input call BIS_fnc_sideNameUnlocalized
Parameters:
input: Number or Side - side ID or side
Return Value:
String - unlocalized name

Examples

Example 1:
west call BIS_fnc_sideNameUnlocalized;//Returns "WEST"
Example 2:
0 call BIS_fnc_sideNameUnlocalized;//Returns "EAST"

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