Arma 3 Scripting

BIN_fnc_setTXScanPolygon

  • Arma 3 v1.94

Function · Markdown · JSON · original wiki page

Description

Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0, param1] call BIN_fnc_setTXScanPolygon

Parameters:

Returns: BOOL - false on error

Examples

Example 1

["MyScan",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon

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:
    Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten

Parameter(s):
    0: STRING - TXScan name
    1: ARRAY - polygon points

Returns:
    BOOL - false on error

Example:
    ["MyScan",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon
*/