ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Construct

Orders a squad to contruct a building at specified position, or to continue construction on an existing building.

On this page
Cmd_Construct(sgroupid, blueprint, targetid, Facing, queued)

Description

The command also checks to see if a building already exists at the location, and the squad will continue building it, if it is of the correct type.

Parameters

  • sgroupidSGrouprequired
  • blueprintEntityrequired
  • targetidEGroupID/Position/Markerrequired
  • FacingPositionoptional
  • queuedBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar