BIS fnc sideName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
Line 26: Line 26:
|x1= <sqf>[2] call BIS_fnc_sideName;</sqf>
|x1= <sqf>[2] call BIS_fnc_sideName;</sqf>


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


|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 12:40, 13 July 2022

Hover & click on the images for description

Description

Description:
Returns localized side name.
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