ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Garrison

Order a squad group to load at a random entity or squad of the group

On this page
Cmd_Garrison(fromsgroupid, togroupid, overload, queued, instant)

Description

overload is a flag that will allow the hold entity to ignore maximum slot check

Parameters

  • fromsgroupidSGroupIDrequired
  • togroupidEGroupID/SGroupIDrequired
  • overloadBooleanoptional
  • queuedBooleanoptional
  • instantBooleanoptional

Returns

EntityIDEntityID or SquadID id of the destination

Source

Declared in the game's script sources at:

scar/command.scar