Skip to content

DamagedStage beta ​

Interface of @v12-engine/client

ts
export interface DamagedStage

A look of something hurt (UnitLook.damaged), on while its health is under a share of all of it

Members ​

at ​

ts
at?: string | readonly string[];

A point of the model the effect plays at, or each of several; its middle when left out

below ​

ts
below: number;

On while its health is under this share of all of it, 0 to 1: 0.5 for under half

clip ​

ts
clip?: string;

A clip it plays over and over while it is on: a limp, a sway

fx ​

ts
fx?: string | FxDef;

An effect on it while it is on, at a point of its model, or at each of several (['roof', 'door'])

id ​

ts
id?: string;

What tells it apart from the others, for stages decided in code: its place in the list when left out

model ​

ts
model?: ModelDef;

Another model it is drawn with while it is on: the damaged building

params ​

ts
params?: FxParams;

Knobs given to the effect, over its own defaults

sound ​

ts
sound?: string;

A sound of the game's as it comes on