BIS fnc sideName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) 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= < | |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
Description
- Description:
- Returns localized side name.
- 0 / opfor (east) = "OPFOR"
- 1 / blufor (west) = "BLUFOR"
- 2 / independent (resistance) = "Independent"
- 3 / civilian = "Civilian"
- 4 / sideUnknown = "Unknown"
- 5 / sideEnemy = "Enemy"
- 6 / sideFriendly = "Friendly"
- 7 / sideLogic = "Game Logic"
- 8 / sideEmpty = "Empty"
- 9 / sideAmbientLife = "Ambient life"
- 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:
- 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