BIS_fnc_teamColor

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Convert number to color team name or color.

Syntax

Syntax:
[teamId, getColour] call BIS_fnc_teamColor
Parameters:
teamId: Number - in range 1..5
getColour: Boolean - (Optional, default false) true to get Color, false to get localized team name
Return Value:
Color or String - color format [r, g, b, a] or localized team name

Examples

Example 1:
[2, true] call BIS_fnc_teamColor;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_colorConfigToRGBABIS_fnc_colorRGBAtoHTML

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section