BIS fnc sideName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
(Add list of potential returns)
Line 7: Line 7:
|gr1 = Sides
|gr1 = Sides


| Returns side name.
|descr= 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"


| [sideNumber] call [[BIS_fnc_sideName]];
| [sideNumber] call [[BIS_fnc_sideName]];

Revision as of 20:16, 23 February 2021

Hover & click on the images for description

Description

Description:
Returns localized side name.
Execution:
call
Groups:
Sides

Syntax

Syntax:
Syntax needed
Parameters:
sideNumber: Side or Number - either side or side ID
Return Value:
Return value needed

Examples

Example 1:
[2] call BIS_fnc_sideName;

Additional Information

See also:
See also needed

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