{"name":"lnbSetPictureColorSelected","operator":null,"title":"lnbSetPictureColorSelected","type":"command","url":"https://community.bistudio.com/wiki/lnbSetPictureColorSelected","revid":319487,"updated":"2022-05-13T09:24:10Z","groups":["GUI Control - ListNBox"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the cell picture's colour on cell selection.","syntaxes":[{"syntax":"lnbSetPictureColorSelected [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 row is 0, second is 1, etc)","types":["Number"],"since":null,"text":"row: Number - 0-based index (first row 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 lnbSetPictureColorSelected [[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 row is 0, second is 1, etc)","types":["Number"],"since":null,"text":"row: Number - 0-based index (first row 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\nlnbSetPictureColorSelected [1492, [1,0], [0,0.75,0.3,0.5]];\n```","code":["lnbSetPictureColorSelected [1492, [1,0], [0,0.75,0.3,0.5]];"]},{"text":"```sqf\nctrl lnbSetPictureColorSelected [[0, 3], [1,0,0,1]];\n```","code":["ctrl lnbSetPictureColorSelected [[0, 3], [1,0,0,1]];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["lnbSetPictureColor"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control - ListNBox","Introduced with Arma 3 version 1.00","Scripting Commands"]}