{"name":"lnbSetPictureRight","operator":null,"title":"lnbSetPictureRight","type":"command","url":"https://community.bistudio.com/wiki/lnbSetPictureRight","revid":353377,"updated":"2024-03-15T17:11:58Z","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's right-picture. The picture is set to the end of the **row**, the *column* parameter does not matter.\n\n> [!NOTE]\n> The picture is searched in the mission, directory, the campaign directory's dtaExt subdirectory, and the data bank (or directory).","syntaxes":[{"syntax":"lnbSetPictureRight [idc, [row, column], path]","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":"path","type":"String","optional":false,"default":null,"description":"the picture's file path","types":["String"],"since":null,"text":"path: String - the picture's file path"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, [row, column], path]","types":["Array"]}},{"syntax":"ctrl lnbSetPictureRight [[row, column], path]","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":"path","type":"String","optional":false,"default":null,"description":"the picture's file path","types":["String"],"since":null,"text":"path: String - the picture's file path"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"ctrl","types":["Control"]},"right":{"text":"[[row, column], path]","types":["Array"]}}],"examples":[{"text":"```sqf\nlnbSetPictureRight [1, [0, 0], \"Picture.paa\"];\n```","code":["lnbSetPictureRight [1, [0, 0], \"Picture.paa\"];"]},{"text":"```sqf\n_ctrl lnbSetPictureRight [[0, 0], \"\\A3\\Ui_f\\data\\GUI\\Cfg\\Ranks\\lieutenant_gs.paa\"];\n```","code":["_ctrl lnbSetPictureRight [[0, 0], \"\\A3\\Ui_f\\data\\GUI\\Cfg\\Ranks\\lieutenant_gs.paa\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["lnbPictureRight"],"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"]}