resetSubgroupDirection

From Bohemia Interactive Community
Revision as of 21:08, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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:
Groups:
Groups

Syntax

Syntax:
resetSubgroupDirection unit
Parameters:
unit: Object - any member of the Group
Return Value:
Nothing

Examples

Example 1:
resetSubgroupDirection myUnit;

Additional Information

See also:
setFormDir group leader formation formationLeader formationMembers formationTask formationDirection formationPosition

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