{"name":"BIN_fnc_setIDWMapDrawPatternIndex","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","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","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","params":[{"name":"arg","type":"Number","type_expr":"Number","description":"pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped","text":"NUMBER - pattern: 0 - triangles, 1 - diamonds, 2 - squares, 3 - diamonds overlapped","source":"docblock"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true on success","text":"BOOL - true on success","source":"docblock"},"inferred":true}],"examples":[{"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;"]}],"docblock":{"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;","author":"Killzone_Kid"},"filled_from_docblock":["params","syntax","returns","examples","description"]}