Arma 3 Scripting

Function in Tasks

BIS_fnc_taskPatrol

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

Description

Create a random patrol of several waypoints around a given position.

Note

In Arma 2, the Functions Module is required.

Syntax

[group, position, distance, blacklist] call BIS_fnc_taskPatrol

Parameters:

Returns: Boolean

Examples

Example 1

[group _unit, getPos _unit, 1000] call BIS_fnc_taskPatrol;

See also

Functions Library · BIS_fnc_taskAttack · BIS_fnc_taskDefend