Skip to main content

Interface: BotOptions

Hierarchy

Properties

actionDelay

Optional actionDelay: number | () => number

Delay in seconds, before taking an action. Imitates the "thinking" of player.


clientID

clientID: string

Inherited from

PlayerOptions.clientID


intelligence

Optional intelligence: number

In range 0...1 how precise this bot should be in picking its goals and actions? Defaults to 0.5

Exact value 0 will force bot to make random BotGoal choices.


name

Optional name: string

Inherited from

PlayerOptions.name