Arma 3 Scripting

Function in TXScan

BIN_fnc_scanTX

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

Description

Intersects current scan polygon (or map square if no scan exists) with triangle originated from RX position and returns the triangle

Note

This content is exclusive to the Arma 3 Contact Expansion.

Syntax

syntax inferred from the function header

[param0, param1] call BIN_fnc_scanTX

Parameters:

Returns: ARRAY - triangle used for intersection

Examples

Example 1

["MyScan", position player] call BIN_fnc_scanTX

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:
    Intersects current scan polygon (or map square if no scan exists) with triangle originated from RX position
    and returns the triangle

Parameter(s):
    0: STRING - scan name
    1: ARRAY (Optional) - RX position. Default: position player

Returns:
    ARRAY - triangle used for intersection

Example:
    ["MyScan", position player] call BIN_fnc_scanTX
*/