BIS fnc sideName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
Line 24: Line 24:
|r1= [[String]]
|r1= [[String]]


|x1= <code>[2] [[call]] [[BIS_fnc_sideName]];</code>
|x1= <sqf>[2] call BIS_fnc_sideName;</sqf>


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

Revision as of 13:04, 5 May 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:
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