MarksApi beta
Interface of @v12-engine/client
ts
export interface MarksApiWhat the renderer of marks on the ground gives (kit.require(MARKS), kit.ring)
Members
ping
ts
ping(x: number, z: number, color: Rgb): void;A ping's mark on the ground, where a player of the side pinged
ring
ts
ring(x: number, z: number, color: Rgb, from: number, to: number): void;Puts a ring on the ground that changes size and then goes away
setAim
ts
setAim(point: {
x: number;
z: number;
} | null, radius: number): void;The circle an ability aimed at the ground would hit, or none (null)
setAimLine
ts
setAimLine(from: {
x: number;
z: number;
} | null, towards: {
x: number;
z: number;
} | null, length?: number, width?: number): void;The line an ability aimed in a direction would cover, or none
setBrush
ts
setBrush(point: {
x: number;
z: number;
} | null, radius: number): void;The circle a brush covers, or none (null)