{"name":"ctrlSetTextColorSecondary","operator":null,"title":"ctrlSetTextColorSecondary","type":"command","url":"https://community.bistudio.com/wiki/ctrlSetTextColorSecondary","revid":377731,"updated":"2026-01-03T00:21:36Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":null},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":null},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the secondary text color of a text control.","syntaxes":[{"syntax":"control ctrlSetTextColorSecondary color","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":"text control","types":["Control"],"since":null,"text":"control: Control - text control"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"color","types":["Color"]}}],"examples":[{"text":"```sqf\n_ctrlText ctrlSetTextColorSecondary [1, 0.5, 0.1, 0.5];\n```","code":["_ctrlText ctrlSetTextColorSecondary [1, 0.5, 0.1, 0.5];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ctrlTextSecondary","ctrlSetText","ctrlText","ctrlSetTextSecondary"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Introduced with Operation Flashpoint version","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}