Arma 3 Scripting

Command in GUI Control

ctrlSetTextColor

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

Description

Sets text color of given control. As of Arma 3 v1.40 this command can also be used to change fill-color of a CT_PROGRESS control.

Note

Also try ctrlSetForegroundColor, if this command doesn't have the desired effect.

Syntax

control ctrlSetTextColor color

Parameters:

Returns: Nothing

Examples

Example 1

_control ctrlSetTextColor [1, 0, 0, 1];

See also

ctrlSetForegroundColor · ctrlTextColor · ctrlSetText