Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.33

Description

Description:Controls the behavior of group members, when changing formations. Enabled by default.

Syntax

Syntax:group enableSmartOrder enable
Parameters:
  • group: Group - Group to which the formation is applied.
  • enable: Boolean - If true, then group members might be re-ordered when assuming a new formation (each unit moves to the position in the new formation that is closest to them). If false, the groups are not re-ordered (default: true).
Return Value:Nothing

Examples

Examples:
grp1 enableSmartOrder true;
grp1 setCustomFormation [[10,-10,0,0],[-10,-10,0,0],[20,-20,0,0],[-20,-20,0,0]]

Additional Information

See also: isEnabledSmartOrder, setCustomFormation
Multiplayer: 
Problems: 

Notes