Arma 3 Scripting

Function in IDWMap

BIN_fnc_setIDWMapStaticDataLayers

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

Description

Sets static data for extension use from argument or config "CfgIDWMap"

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

arg call BIN_fnc_setIDWMapStaticDataLayers

Parameters:

Returns: BOOL - true on success

Examples

Example 1

call BIN_fnc_setIDWMapStaticDataLayers

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 static data for extension use from argument or config "CfgIDWMap"

Parameter(s):
    ARRAY (optional) - static data in format:
    [
        [[x,y,strengh],[x,y,strengh],...], // data layer 0
        [[x,y,strengh],[x,y,strengh],...], // data layer 1
        ...
        [[x,y,strengh],[x,y,strengh],...] // data layer N
    ]

Returns:
    BOOL - true on success

Example:
    call BIN_fnc_setIDWMapStaticDataLayers
*/