SpawnTool beta
Interface of @v12-engine/client
ts
export interface SpawnToolDebug tool: what the next click on the map creates
Members
brush
ts
brush?: number;Makes it a brush of this radius: dragging fills the circle, for things that stand on the grid like trees
count
ts
count: number;Units only
hidden
ts
hidden?: boolean;What is invisible, like a ward, is out of sight from the start instead of after a moment
player
ts
player: PlayerId;The player the spawned unit belongs to
prefab
ts
prefab?: string;A prefab of the game's put down in place of unitType, which is then not read (world.spawnPrefab; not with a brush)
unitType
ts
unitType: string;The unit type name to spawn, as UnitTypeDef keys it