BIS fnc sideName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
Line 7: Line 7:


|descr= Returns localized side name.
|descr= Returns localized side name.
* 0 / [[opfor]] ([[east]]) {{=}} "OPFOR"
{{Columns|2|
* 1 / [[blufor]] ([[west]]) {{=}} "BLUFOR"
* 0 / [[opfor]] ([[east]]) = "OPFOR"
* 2 / [[independent]] ([[resistance]]) {{=}} "Independent"
* 1 / [[blufor]] ([[west]]) = "BLUFOR"
* 3 / [[civilian]] {{=}} "Civilian"
* 2 / [[independent]] ([[resistance]]) = "Independent"
* 4 / [[sideUnknown]] {{=}} "Unknown"
* 3 / [[civilian]] = "Civilian"
* 5 / [[sideEnemy]] {{=}} "Enemy"
* 4 / [[sideUnknown]] = "Unknown"
* 6 / [[sideFriendly]] {{=}} "Friendly"
* 5 / [[sideEnemy]] = "Enemy"
* 7 / [[sideLogic]] {{=}} "Game Logic"
* 6 / [[sideFriendly]] = "Friendly"
* 8 / [[sideEmpty]] {{=}} "Empty"
* 7 / [[sideLogic]] = "Game Logic"
* 9 / [[sideAmbientLife]] {{=}} "Ambient life"
* 8 / [[sideEmpty]] = "Empty"
* 9 / [[sideAmbientLife]] = "Ambient life"
}}


|s1= [sideNumber] call [[BIS_fnc_sideName]]
|s1= [sideNumber] call [[BIS_fnc_sideName]]
Line 26: Line 28:
|x1= <sqf>[2] call BIS_fnc_sideName;</sqf>
|x1= <sqf>[2] call BIS_fnc_sideName;</sqf>


|x2= <code>independent] [[call]] [[BIS_fnc_sideName]];</code>
|x2= <sqf>independent] call BIS_fnc_sideName;</sqf>


|seealso= [[side]] [[countSide]] [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]] [[Side]] [[playerSide]] [[west]] [[east]] [[resistance]] [[civilian]] [[sideLogic]] [[sideFriendly]] [[sideEnemy]] [[sideUnknown]] [[sideEmpty]] [[sideAmbientLife]] [[Side relations]]
|seealso= [[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 13:21, 13 July 2022

Hover & click on the images for description

Description

Description:
Returns localized side name. -no columns content defined-
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:
side countSide CfgVehicles config side value Side playerSide west east resistance civilian sideLogic sideFriendly sideEnemy sideUnknown sideEmpty sideAmbientLife Side 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