StanceDef beta
Interface of @v12-engine/engine
ts
export interface StanceDefA stance: how a unit without orders takes to the enemies around it
Members
acquire
ts
acquire: 'any' | 'near' | 'none';What it attacks of its own accord: anything in its acquisition range, only what its attack reaches, or nothing
description
ts
description?: string;What the stance does, for its tooltip
fireBack
ts
fireBack: boolean;Whether it fights back whoever hits it, for a stance that acquires nothing
hotkey
ts
hotkey?: string;The key on the command card, for the HUD's buttons (stanceButtons of the client)
id
ts
id: string;The stance's id, which the stance command and UnitTypeDef.stance name it by
name
ts
name: string;The stance's name shown on the HUD
pursue
ts
pursue: boolean;Whether it chases what it fights past the reach of its attack
returnTo
ts
returnTo: 'post' | 'none';Where it goes once a fight is over: back where it stood, or nowhere