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