Arma 3 Scripting

Command in GUI Control

ctrlSetForegroundColor

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

Description

Sets foreground color of the given control.

Note

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

Syntax

control ctrlSetForegroundColor color

Parameters:

Returns: Nothing

Examples

Example 1

_control ctrlSetForegroundColor [1, 0, 0, 1];

See also

ctrlSetTextColor · ctrlSetBackgroundColor