Get Squad
Battlefield 6 Scripting Docs / mod / mod / GetSquad
function GetSquad(player): Squad;
Defined in: mod/index.d.ts:21872
Returns the squad object corresponding to the provided player, or team/squad id.
| Parameter | Type |
|---|---|
player |
Player |
function GetSquad(teamIdNumber, squadIdNumber): Squad;
Defined in: mod/index.d.ts:21875
Returns the squad object corresponding to the provided player, or team/squad id.
| Parameter | Type |
|---|---|
teamIdNumber |
number |
squadIdNumber |
number |