ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_SquadPatrolMarker

Causes a squad to patrol a marker attacking any enemies that come within its radius. If used on circular markers, the radius must be at least 5. To stop the squad from patrolling the marker, use Cmd_Stop.

On this page
Cmd_SquadPatrolMarker(sgroup, marker)

Description

Causes a squad to patrol a marker attacking any enemies that come within its radius. If used on circular markers, the radius must be at least 5. To stop the squad from patrolling the marker, use Cmd_Stop.

Parameters

  • sgroupSGroupIDrequired
  • markerMarkerIDrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar