{"name":"lnbSetPictureColor","operator":null,"title":"lnbSetPictureColor","type":"command","url":"https://community.bistudio.com/wiki/lnbSetPictureColor","revid":377350,"updated":"2026-01-02T06:40:12Z","groups":["GUI Control - ListNBox"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.42"}],"since":{"game":"arma3","name":"Arma 3","version":"1.42"},"arma3_since":"1.42","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the cell picture's colour.","syntaxes":[{"syntax":"lnbSetPictureColor [idc, [row, column], colour]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"idc: Number"},{"name":"row","type":"Number","optional":false,"default":null,"description":"0-based index (first column is 0, second is 1, etc)","types":["Number"],"since":null,"text":"row: Number - 0-based index (first column is 0, second is 1, etc)"},{"name":"column","type":"Number","optional":false,"default":null,"description":"0-based index (first column is 0, second is 1, etc)","types":["Number"],"since":null,"text":"column: Number - 0-based index (first column is 0, second is 1, etc)"},{"name":"colour","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"colour: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, [row, column], colour]","types":["Array"]}},{"syntax":"ctrl lnbSetPictureColor [[row, column], colour]","since":null,"effect":null,"exec":null,"params":[{"name":"ctrl","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"ctrl: Control"},{"name":"row","type":"Number","optional":false,"default":null,"description":"0-based index (first column is 0, second is 1, etc)","types":["Number"],"since":null,"text":"row: Number - 0-based index (first column is 0, second is 1, etc)"},{"name":"column","type":"Number","optional":false,"default":null,"description":"0-based index (first column is 0, second is 1, etc)","types":["Number"],"since":null,"text":"column: Number - 0-based index (first column is 0, second is 1, etc)"},{"name":"colour","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"colour: Color (RGBA)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"ctrl","types":["Control"]},"right":{"text":"[[row, column], colour]","types":["Array"]}}],"examples":[{"text":"```sqf\nlnbSetPictureColor [1492, [1,0], [0,0.75,0.3,0.5]];\n```","code":["lnbSetPictureColor [1492, [1,0], [0,0.75,0.3,0.5]];"]},{"text":"```sqf\nctrl lnbSetPictureColor [[0, 3], [1,0,0,1]];\n```","code":["ctrl lnbSetPictureColor [[0, 3], [1,0,0,1]];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[{"user":"Unknown","date":"","text":"MAYBE Arma 3 1.40 (or earlier) - see https://feedback.bistudio.com/T81738"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - ListNBox","Introduced with Arma 3 version 1.42","Scripting Commands"]}