---
name: "BIN_fnc_setIDWMapDrawColorSet"
type: function
status: ok
groups: ["IDWMap"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_setIDWMapDrawColorSet
revid: 364343
updated: 2024-05-06T10:34:27Z
---

# BIN_fnc_setIDWMapDrawColorSet

*Function · IDWMap · Arma 3 v1.94*

## Description

Sets map draw color set

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

*syntax inferred from the function header*

```sqf
arg call BIN_fnc_setIDWMapDrawColorSet
```

**Parameters:**

- `arg` — ARRAY - array of colors from 1 to 11

**Returns:** BOOL - true on success

## Examples

### Example 1

```sqf
// set 3 color drawing on the fly
[[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;
// set from config
[] call BIN_fnc_setIDWMapDrawColorSet;
```

## Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.

```sqf
/*
    Killzone_Kid

Description:
    Sets map draw color set

Parameter(s):
    ARRAY - array of colors from 1 to 11

Returns:
    BOOL - true on success

Example:
    // set 3 color drawing on the fly
    [[0,0,0.514,0.7],[0.843,1,0.153,0.7],[0.522,0,0,0.7]] call BIN_fnc_setIDWMapDrawColorSet;
    // set from config
    [] call BIN_fnc_setIDWMapDrawColorSet;
*/
```

<sub>Source: [BI Community Wiki — BIN fnc setIDWMapDrawColorSet](https://community.bistudio.com/wiki/BIN_fnc_setIDWMapDrawColorSet) (revision 364343).</sub>
