{"name":"BIN_fnc_setIDWMapDrawPatternIndex","operator":null,"title":"BIN fnc setIDWMapDrawPatternIndex","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_setIDWMapDrawPatternIndex","revid":364344,"updated":"2024-05-06T10:34:40Z","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 pattern\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"arg call BIN_fnc_setIDWMapDrawPatternIndex","since":null,"effect":null,"exec":null,"params":[{"name":"arg","type":"Number","types":["Number"],"optional":false,"default":null,"description":"pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped","since":null,"text":"NUMBER - pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL - true on success","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\n// set on the fly\n3 call BIN_fnc_setIDWMapDrawPatternIndex; OR [3] call BIN_fnc_setIDWMapDrawPatternIndex;\n// set from config\ncall BIN_fnc_setIDWMapDrawPatternIndex; OR [] call BIN_fnc_setIDWMapDrawPatternIndex;\n```","code":["// set on the fly\n3 call BIN_fnc_setIDWMapDrawPatternIndex; OR [3] call BIN_fnc_setIDWMapDrawPatternIndex;\n// set from config\ncall BIN_fnc_setIDWMapDrawPatternIndex; OR [] call BIN_fnc_setIDWMapDrawPatternIndex;"]}],"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 pattern","params":[{"index":null,"name":null,"types":["Number"],"optional":false,"default":null,"description":"pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped","text":"NUMBER - pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped"}],"returns":{"types":["Boolean"],"text":"BOOL - true on success"},"examples":["// set on the fly\n3 call BIN_fnc_setIDWMapDrawPatternIndex; OR [3] call BIN_fnc_setIDWMapDrawPatternIndex;\n// set from config\ncall BIN_fnc_setIDWMapDrawPatternIndex; OR [] call BIN_fnc_setIDWMapDrawPatternIndex;"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"    Killzone_Kid\n\nDescription:\n    Sets map draw pattern\n\nParameter(s):\n    NUMBER - pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped\n\nReturns:\n    BOOL - true on success\n\nExample:\n    // set on the fly\n    3 call BIN_fnc_setIDWMapDrawPatternIndex; OR [3] call BIN_fnc_setIDWMapDrawPatternIndex;\n    // set from config\n    call BIN_fnc_setIDWMapDrawPatternIndex; OR [] call BIN_fnc_setIDWMapDrawPatternIndex;"},"filled_from_docblock":["params","syntax","returns","examples","description"]}