Arma 3 Scripting

Function in IDWMap

BIN_fnc_setIDWMapDrawColorSet

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets map draw color set

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

arg call BIN_fnc_setIDWMapDrawColorSet

Parameters:

Returns: BOOL - true on success

Examples

Example 1

// 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.

/*
    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;
*/