ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Retreat

Order a squad group to retreat, optionally to a specific location. 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)

On this page
Cmd_Retreat(sgroup, location, deleteWhenNearMarker, queued, saveEncounters, vulnerableRetreat)

Description

vulnerableRetreat will make retreating squads take more damage

Parameters

  • sgroupSGroupIDrequired
  • locationPositionoptional
  • deleteWhenNearMarkerBool/MarkerID/ScarPosoptional
  • queuedBooleanoptional
  • saveEncountersBooleanoptional
  • vulnerableRetreatBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar