BIS fnc sideName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(s1=)? *(\[[^ ]+\] (call|spawn) \[\[BI(N|S)_fnc_[a-zA-Z0-9_]+\]\]); \| *p1 *=" to " |s1= $2 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "Side relations" to "Side Relations") |
||
(21 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.00 | |version1= 1.00 | ||
Line 8: | Line 7: | ||
|descr= Returns localized side name. | |descr= Returns localized side name. | ||
{{Columns|2| | |||
* 0 / [[opfor]] ([[east]]) {{=}} "OPFOR" | * 0 / [[opfor]] ([[east]]) {{=}} "OPFOR" | ||
* 1 / [[blufor]] ([[west]]) {{=}} "BLUFOR" | * 1 / [[blufor]] ([[west]]) {{=}} "BLUFOR" | ||
Line 18: | Line 18: | ||
* 8 / [[sideEmpty]] {{=}} "Empty" | * 8 / [[sideEmpty]] {{=}} "Empty" | ||
* 9 / [[sideAmbientLife]] {{=}} "Ambient life" | * 9 / [[sideAmbientLife]] {{=}} "Ambient life" | ||
}} | |||
|s1= [ | |s1= [input] call [[BIS_fnc_sideName]] | ||
|p1= | |p1= input: [[Side]] or [[Number]] - either side or side ID | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= < | |x1= <sqf>[2] call BIS_fnc_sideName;</sqf> | ||
|x2= < | |x2= <sqf>[independent] call BIS_fnc_sideName;</sqf> | ||
|seealso= [[side]] | |seealso= [[side]] [[countSide]] {{Link|CfgVehicles Config Reference#side}} [[Side]] [[playerSide]] [[Side Relations]] | ||
}} | }} |
Latest revision as of 20:02, 12 June 2023
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:
- [input] call BIS_fnc_sideName
- Parameters:
- input: Side or Number - either side or side ID
- Return Value:
- String
Examples
- Example 1:
- Example 2:
Additional Information
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