ctrlSetTextColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
|x1= <code>_control [[ctrlSetTextColor]] [1, 0, 0, 1]</code>
|x1= <code>_control [[ctrlSetTextColor]] [1, 0, 0, 1]</code>


|[[ctrlTextColor]], [[ctrlSetText]]
|seealso= [[ctrlTextColor]], [[ctrlSetText]]
}}
}}



Revision as of 00:29, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
control: Control
color: Array
Return Value:
Return value needed

Examples

Example 1:
_control ctrlSetTextColor [1, 0, 0, 1]

Additional Information

See also:
ctrlTextColorctrlSetText

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
Posted on April 10, 2015 - 06:47 (UTC)
Fight9
When used on a CT_PROGRESS control, remove the configured "texture" first. The two will affect each other. - Arma 3 v1.42
Posted on March 4, 2018 - 22:57 (UTC)
feint
This command can be used to change the color of the light that is illuminating a texture in a display. By default, textures are lit with white light at 100% [1,1,1,1];