Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface BotGenerationDetails
import { type BotGenerationDetails } from "https://deno.land/x/sptaki@1.2.0/models/mod.ts";

Properties

isPmc: boolean

Should the bot be generated as a PMC

role: string

assault/pmcBot etc

side: string

Side of bot

optional
playerLevel: number

Active players current level

optional
playerName: string
botRelativeLevelDeltaMax: number

Delta of highest level of bot e.g. 50 means 50 levels above player

botRelativeLevelDeltaMin: number

Delta of lowest level of bot e.g. 50 means 50 levels below player

botCountToGenerate: number

How many to create and store

botDifficulty: string

Desired difficulty of the bot

isPlayerScav: boolean

Will the generated bot be a player scav

optional
eventRole: string
optional
allPmcsHaveSameNameAsPlayer: boolean