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 (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns unlocalized side name. |Description=
Author:
____________________________________________________________________________________________
Killzone_Kid
 
Description:
Returns unlocalized side name


Parameter(s):
| input call [[BIS_fnc_sideNameUnlocalized]] |Syntax=
0: NUMBER or SIDE - either side ID or side type


Returns:
|p1= input: [[Number]] or [[Side]] - Side ID or [[side]] |Parameter 1=
STRING
*/


/// --- engine constants
| [[String]] - Unlocalized name |Return value=
#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
|x1= [[west]] [[call]] [[BIS_fnc_sideNameUnlocalized]];//Returns "WEST"|Example 1=
|p1= |= Parameter 1


| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=  
|x2= 0 [[call]] [[BIS_fnc_sideNameUnlocalized]];//Returns "EAST"|Example 2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[side]] |See also=
 
}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 10:52, 20 June 2018

Hover & click on the images for description

Description

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

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

Notes

Bottom Section