Skip to content

MapEmitter beta ​

Interface of @v12-engine/client

ts
export interface MapEmitter

A sound that keeps playing at a place of the map: a waterfall, a forge. Heard by where the camera looks

Members ​

id ​

ts
id: number;

Its id among the map's of its kind: what the editor finds it by, kept as it is moved and as others come and go

name ​

ts
name?: string;

What the editor and its search call it, where it is given a name

reach ​

ts
reach: number;

How far it is heard, in cells: loudest at the middle, nothing at the edge

sound ​

ts
sound: string;

The sound, by its name in the game's folder or the shared one: a file made to loop

volume ​

ts
volume: number;

How loud it is at the middle, 0..1

x ​

ts
x: number;

The emitter's x position in cells

z ​

ts
z: number;

The emitter's z position in cells