{"name":"BIN_fnc_setIDWMapDrawColorSet","operator":null,"title":"BIN fnc setIDWMapDrawColorSet","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_setIDWMapDrawColorSet","revid":364343,"updated":"2024-05-06T10:34:27Z","groups":["IDWMap"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets map draw color set\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"arg call BIN_fnc_setIDWMapDrawColorSet","since":null,"effect":null,"exec":null,"params":[{"name":"arg","type":"Array","types":["Array"],"optional":false,"default":null,"description":"array of colors from 1 to 11","since":null,"text":"ARRAY - array of colors from 1 to 11","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL - true on success","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\n// set 3 color drawing on the fly\n[[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;\n// set from config\n[] call BIN_fnc_setIDWMapDrawColorSet;\n```","code":["// set 3 color drawing on the fly\n[[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;\n// set from config\n[] call BIN_fnc_setIDWMapDrawColorSet;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: IDWMap","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":"Killzone_Kid","description":"Sets map draw color set","params":[{"index":null,"name":null,"types":["Array"],"optional":false,"default":null,"description":"array of colors from 1 to 11","text":"ARRAY - array of colors from 1 to 11"}],"returns":{"types":["Boolean"],"text":"BOOL - true on success"},"examples":["// set 3 color drawing on the fly\n[[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;\n// set from config\n[] call BIN_fnc_setIDWMapDrawColorSet;"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"    Killzone_Kid\n\nDescription:\n    Sets map draw color set\n\nParameter(s):\n    ARRAY - array of colors from 1 to 11\n\nReturns:\n    BOOL - true on success\n\nExample:\n    // set 3 color drawing on the fly\n    [[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;\n    // set from config\n    [] call BIN_fnc_setIDWMapDrawColorSet;"},"filled_from_docblock":["params","syntax","returns","examples","description"]}