Skip to content

MapForce beta ​

Interface of @v12-engine/engine

ts
export interface MapForce

A team of a map, with a name, and what its players share: for the game to read (world.map.forces)

Members ​

name ​

ts
name: string;

The team's name, shown in lobbies and for the game to read

sharedControl ​

ts
sharedControl?: boolean;

Its players can give orders to each other's units: for the game to read

sharedVision ​

ts
sharedVision?: boolean;

Its players see what each other sees. Teams always do in this engine: kept for the game to read

team ​

ts
team: number;

The team, as its players have it (MapPlayer.team)