---
name: "BIN_fnc_setTXScanPolygon"
type: function
status: ok
groups: ["TXScan"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_setTXScanPolygon
revid: 281378
updated: 2021-06-14T09:09:32Z
---

# BIN_fnc_setTXScanPolygon

*Function · TXScan · Arma 3 v1.94*

## 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*

```sqf
[param0, param1] call BIN_fnc_setTXScanPolygon
```

**Parameters:**

- `param0` — 0: STRING - TXScan name
- `param1` — 1: ARRAY - polygon points

**Returns:** BOOL - false on error

## Examples

### Example 1

```sqf
["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.

```sqf
/*
    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
*/
```

<sub>Source: [BI Community Wiki — BIN fnc setTXScanPolygon](https://community.bistudio.com/wiki/BIN_fnc_setTXScanPolygon) (revision 281378).</sub>
