ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Move

Move a squad group to a given position.

On this page
Cmd_Move(sgroup, position, queued, deleteWhenNearMarker, facing, offset, distance, coverSearchRadius, splitCmd)

Description

Supports facing, 'offset' movement, and can find cover. The sgroup can be deleted when in proximity of a marker (it assumes a proximity of 5 if you forget to set one on the marker)

Parameters

  • sgroupSGroupIDrequired
  • positionPos/SGroupID/EGroupID/MarkerIDrequired
  • queuedBooleanoptional
  • deleteWhenNearMarkerMarkerIDoptional
  • facingPositionoptional
  • offsetIntegeroptional
  • distanceRealoptional
  • coverSearchRadiusRealoptional
  • splitCmdBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar