ScarDoc

Start typing to search the SCAR reference.

Function
Team

Team_AddSquadsToSGroup

For the given team, get all of the squads gathered into a squadgroup of your naming.

On this page
Team_AddSquadsToSGroup(team, squadgroupName)

Description

Squads will be added to given squad group. If the given squad group does not exist it will be created. This will add all squads for the entire team to one group. To do so for each player, iterate the team table

Parameters

  • teamTeamIDrequired
  • squadgroupNameStringrequired

Returns

SGroupID

Source

Declared in the game's script sources at:

scar/team.scar