Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

setMatchTeam

setMatchTeam(authority, entity, team): boolean

Puts entity, an entity a match owns that is no player, such as an NPC goalkeeper or a turret, on team of that match, or on none with null: the team question then answers it, scoped by its match. A player’s side is the player’s slot’s, which setMatch writes. Returns whether it applied.

Parameter Type
authority Authority
entity Entity
team Team | null

boolean