ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_MoveToThenAttackMove

Move a squad group to a given position, attack-moving once close enough

On this page
Cmd_MoveToThenAttackMove(sgroup, position, distance, ANY, queued)

Description

Squad will move to a position, once they're within 'distance', they will attack-move the rest of the way.

Parameters

  • sgroupSGroupIDrequired
  • positionPos/SGroupID/EGroupID/MarkerIDrequired
  • distanceIntegeroptional
  • ANYBooleanoptional
  • queuedBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar