Arma 3 Scripting

Command in Unit Control

commandFollow

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

Description

Order the given unit(s) to follow another from his own group (via radio). It can also be used to resume unit formation after e.g doStop.

Syntax

unit commandFollow unitLead

Parameters:

Returns: Nothing

Examples

Example 1

_soldier1 commandFollow _soldier2;

Example 2

(units group _leader - [_leader]) commandFollow _leader; // returns all the units (but the leader) to formation

See also

doFollow · formationLeader · formLeader · isFormationLeader · leader · selectLeader · setLeader