ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_SetDemolitions

Orders a squad group to place demolition charges on a building (egroup). Function does nothing if egroup cannot be detonated, or player can't afford the demolitions

On this page
Cmd_SetDemolitions(sgroupid, targetid, skipCostPrereq, queued)

Description

Orders a squad group to place demolition charges on a building (egroup). Function does nothing if egroup cannot be detonated, or player can't afford the demolitions

Parameters

  • sgroupidSGroupIDrequired
  • targetidEGroupIDrequired
  • skipCostPrereqBooleanoptional
  • queuedBooleanoptional

Returns

Unknown

Source

Declared in the game's script sources at:

scar/command.scar