FxOptions beta
Interface of @v12-engine/engine
export interface FxOptionsHow the rules play an effect (world.fx)
Members
at
at?: Vec2 | {
x: number;
y: number;
z: number;
};A place: on the ground ({ x, z }) or at a height ({ x, y, z })
on
on?: Entity | number;Or an entity: on the screen it follows it, and ends with it
overFog
overFog?: boolean;Seen over the fog of war by whom it is for, as what is there to be noticed. No when left out
params
params?: Record<string, unknown>;Its knobs, over the effect's own (EffectDef.params): plain data
point
point?: string;A point of the entity's model (ModelDef.points)
seed
seed?: number;What its random parts go by: one made from the tick when left out, the same on every screen all the same
to
to?: Audience;Who sees it: a player, some, or everyone who sees the place (when left out)
toward
toward?: Entity | number | Vec2;The other end, for an effect drawn between two (a beam, a tether, a link of a chain: the client's linkFx): an entity it follows on the screen, or a place. It starts at at or on; seen by whoever sees either end