Arma 3 Scripting

BIN_fnc_markFreeAreaPositions

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

Description

Returns array of booleans in place of passed positions, where true is free and false is possible collision

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0, param1, param2] call BIN_fnc_markFreeAreaPositions

Parameters:

Returns: ARRAY of booleans

Examples

Example 1

["myArea", [10,5,0], [[123,123,123],[456,456,456],...]] call BIN_fnc_markFreeAreaPositions

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:
    Returns array of booleans in place of passed positions, where true is free and false is possible collision

Parameter(s):
    0: STRING - area name
    1: ARRAY - bounding barrel in format [radius, height, offset]
    2: ARRAY - arrays of positions

Returns:
    ARRAY of booleans

Example:
    ["myArea", [10,5,0], [[123,123,123],[456,456,456],...]] call BIN_fnc_markFreeAreaPositions
*/