Skip to content

RolesFinder beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type RolesFinder = (registry: Registry, player: RolesPlayer) => RoleTable;

A game's own way of saying what unit types are for, in place of the kit's inference (AiOptions.roles): every type it has a role for, with its roles and tags. What is declared on a type (UnitTypeDef.ai) still goes over it