TeamOptions beta
Interface of @v12-engine/engine/ai
export interface TeamOptionsHow a brain plays with its team (BrainDef.team, the seat's AiOptions.team over it, the team() module's own under both). Data
Members
answerPings
answerPings?: boolean;Whether it does what an ally's ping asks besides help (RuleSettings.talk.pings.meanings): a squad sent to fight at an attack (a push), one to hold a place at a defend (a hold), its squads out brought home at a rally (a retreat). Yes when left out
askForHelp
askForHelp?: boolean;Whether it asks its team for help with a raid more than it can meet: yes when left out
defendUsers
defendUsers?: boolean;Whether it helps its allies, people and computers, where asked (the classic Defend Users): yes when left out
gatherFor
gatherFor?: number;Seconds ahead of the proposal the waves of a plan go: 20 when left out
helpOdds
helpOdds?: number;The odds of the fight (Strength.odds) what it sends to help is to have: one in two when left out
lines
lines?: Partial<Record<'attacking' | 'helping' | 'retreating', string>>;Its lines, the game's words: { attacking, helping, retreating }. Nothing is said for a line not given
requestFor
requestFor?: number;Seconds a request stands: 30 when left out
say
say?: boolean;Whether it says a line to its side as it sends a wave, comes to help, falls back: no when left out
together
together?: boolean;Whether its waves wait for the team's plan and go together: no when left out