Arma 3 Scripting

commandFollow

  • Local argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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