ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_AddSquadsToSGroup

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

On this page
Player_AddSquadsToSGroup(playerId, squadgroupName)

Description

Squads will be added to given squad group. If the given squad group does not exist it will be created.

Parameters

  • playerIdPlayerIDrequired
  • squadgroupNameStringrequired

Returns

SGroupID

Source

Declared in the game's script sources at:

scar/player.scar