setTeamSize() Netscript Function

setTeamSize(type, name, size)
Arguments:
  • type (string) – Type of action. See Bladeburner Action Types
  • name (string) – Name of action. Must be an exact match
  • size (int) – Number of team members to set. Will be converted using Math.round()

Set the team size for the specified Bladeburner action.

Returns the team size that was set, or -1 if the function failed.