---
name: "BIN_fnc_getIDWMapDrawPatternIndex"
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_getIDWMapDrawPatternIndex
revid: 309514
updated: 2022-05-05T12:06:36Z
---

# BIN_fnc_getIDWMapDrawPatternIndex

*Function · IDWMap · Arma 3 v1.94*

## Description

Gets stored draw pattern index

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

## Syntax

**Returns:** NUMBER - draw pattern index (0..3)
or
-1 on error

## Examples

### Example 1

```sqf
call BIN_fnc_getIDWMapDrawPatternIndex
```

## Function header

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

```sqf
/*
    Killzone_Kid

Description:
    Gets stored draw pattern index

Parameter(s):
    NONE

Returns:
    NUMBER - draw pattern index (0..3)
    or
    -1 on error

Example:
    call BIN_fnc_getIDWMapDrawPatternIndex
*/
```

<sub>Source: [BI Community Wiki — BIN fnc getIDWMapDrawPatternIndex](https://community.bistudio.com/wiki/BIN_fnc_getIDWMapDrawPatternIndex) (revision 309514).</sub>
