BIS fnc taskPatrol: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 8: Line 8:


|arg=|eff=| Create a random patrol of several [[Waypoint|waypoints]] around a given [[position]].
|arg=|eff=| Create a random patrol of several [[Waypoint|waypoints]] around a given [[position]].
{{Informative | In {{arma2}}, the [[Functions Library|Functions Module]] is required.}}
{{Feature | Informative | In {{arma2}}, the [[Functions Library|Functions Module]] is required.}}


| [group, position, distance, blacklist] call [[BIS_fnc_taskPatrol]]
| [group, position, distance, blacklist] call [[BIS_fnc_taskPatrol]]

Revision as of 01:01, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Tasks

Syntax

Syntax:
Syntax needed
Parameters:
group: Group - the group to patrol
position: Position - the position on which to base the patrol
distance: Number - maximum distance between waypoints in meters
blacklist: Array - (optional) blacklist of areas
Return Value:
Return value needed

Examples

Example 1:
[group _unit, getPos _unit, 1000] call BIS_fnc_taskPatrol;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note