Arma 3 Scripting

Command in Groups

resetSubgroupDirection

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

Description

Sets formation direction of a group relative to current direction of the group leader. The group units will change their positions to form new formation if new formation direction is different (approx +/- 15 degrees). Does the same as:

_grp setFormDir getDir leader _grp;

Syntax

resetSubgroupDirection unit

Parameters:

Returns: Nothing

Examples

Example 1

resetSubgroupDirection myUnit;

See also

setFormDir · group · leader · formation · formationLeader · formationMembers · formationTask · formationDirection · formationPosition