ctrlSetTextColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[https?\:\/\/community\.bistudio\.com\/wiki\/(.*) (.*)\]" to "$2")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 36: Line 36:


[[Category:Scripting Commands|CTRLSETTEXTCOLOR]]
[[Category:Scripting Commands|CTRLSETTEXTCOLOR]]
[[Category:Scripting Commands ArmA|CTRLSETTEXTCOLOR]]
[[Category:Scripting Commands Armed Assault|CTRLSETTEXTCOLOR]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]

Revision as of 16:46, 3 June 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets text color of given control. Color is in format Color. As of Arma 3 v1.40 this command could also be used to change fill color of the DialogControls-ProgressBar.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetTextColor color
Parameters:
control: Control
color: Array
Return Value:
Nothing

Examples

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

Additional Information

See also:
ctrlSetText

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

Notes

Bottom Section

Posted on April 10, 2015 - 06:47 (UTC)
Fight9
When used on a RscProgress 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];