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

isTeammate

isTeammate(world, first, second): boolean

Whether first and second are on one team, or are one entity: what nameplates and team chat read. Two entities with no team are not teammates, and with no rule nobody is.

Parameter Type
world World
first Entity
second Entity

boolean