Arma 3 Scripting

Function in Positions, Geometry

BIS_fnc_randomPosIntersection

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

Description

Returns random 2D position inside the intersection of two circles. [-1,-1] is returned if the circles do not intersect.

Syntax

[firstCircle, secondCircle, positioning1, positioning2] call BIS_fnc_randomPosIntersection

Parameters:

Returns: Array - 2D Position

Examples

Example 1

[trigger1, trigger2, 0.75, 0.75] call BIS_fnc_randomPosIntersection;