Skip to content

PropsClip beta ​

Interface of @v12-engine/client

ts
export interface PropsClip extends Clip

A clip of the props lane: places, moves, animates or removes a model placed for the cinematic alone

Members ​

along ​

ts
along?: [number, number];

The part of the path it goes along, its start and its end as shares of its length: all of it when left out

clip ​

ts
clip?: string;

A clip of its model played as the item starts: its name in the file, or a kind (walk, attack, idle...: what the model maps it to). A walk is played at the pace the prop moves

facing ​

ts
facing?: number;

Which way it faces, in radians: the way it goes while it moves, as it was otherwise, when left out

loop ​

ts
loop?: boolean;

The clip over and over: yes when left out

model ​

ts
model?: string;

What it is, on its first item: a model of the game's (its path) or a unit type's id

path ​

ts
path?: string;

Or a path of the map it goes along over the item's for seconds, by its name (MapPath)

prop ​

ts
prop: string;

The prop's name: every item of one name is about one prop

remove ​

ts
remove?: boolean;

Taken away as the item starts

scale ​

ts
scale?: number;

How big, times its model's size: 1 when left out

to ​

ts
to?: Vec2 | string;

Where it goes over the item's for seconds: a point, or a unit's spot by its name

where ​

ts
where?: Vec2 | string;

Where it is put, or where its move starts: a point, or a unit's spot by its name. Where the item before left it, when left out