Arma 3 Scripting

Function in Sides

BIS_fnc_sideColor

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns colour of define side either as Array in format RGBA or the name of the colour as String

Syntax

[side, returnString] call BIS_fnc_sideColor

Parameters:

Returns: or String or Array format Color (RGBA)

Examples

Example 1

[blufor, false] call BIS_fnc_sideColor; // returns [0,0.3,0.6,1]

Example 2

[blufor, true] call BIS_fnc_sideColor; // returns "ColorWEST"

See also

side · Arma 3: CfgMarkerColors