Skip to content

DeathLook beta ​

TypeAlias of @v12-engine/client

ts
export type DeathLook = 'fall' | 'shatter' | 'debris' | 'none' | 'keep' | DeathDef;

How something dies on the screen: falls over (its death clip, then it lies there and sinks), breaks into pieces of itself (shatter), into pieces of what it is made of (debris), is gone at once (none), or stays as it is for the game's code to do with as it likes (keep: kit.model(id) reaches it, kit.letGo(id) takes it away). Or the whole sequence of it (DeathDef): its clip, its effects and sound, how it breaks, how a unit's body lies and a building comes down, and what is left of it