Arma 3 Scripting

Function in Positions

BIS_fnc_isPosBlacklisted

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

Description

Function checks a blacklist and sees if the given position is in it or not.

Syntax

[position, blacklistArea] call BIS_fnc_isPosBlacklisted

Parameters:

Returns: Boolean - is the position blacklisted or not

Examples

Example 1

[[50,50], [[0,0], [100,100]]] call BIS_fnc_isPosBlacklisted;

Example 2

[getPosATL player, myTrigger] call BIS_fnc_isPosBlacklisted;

See also

BIS_fnc_inTrigger · inArea · distance2D