Information about the game is available through the bot.game object.
These values, when modified, do nothing. They are ONLY to be used for information.
bot.game.code - the invite code of the gamebot.game.gameMode - the game mode of the game ('ffa', 'team', 'spatula', 'kotc')bot.game.map - the map of the game (instanceof Map)bot.game.playerLimit - the player limit of the gamebot.game.isGameOwner - if the bot is the game ownerbot.game.isPrivate - if the game is privatebot.game.options - the options of the game
bot.game.options.gravity - the gravity of the gamebot.game.options.damage - the damage of the gamebot.game.options.healthRegen - the health regen of the gamebot.game.options.locked - if the game is lockedbot.game.options.noTeamChange - if the game has no team changebot.game.options.noTeamShuffle - if the game has no team shufflebot.game.options.weaponsDisabled - the weapons disabled in the game - in the order of GunList - 1 = disabled, 0 = enabledbot.game.options.mustUseSecondary - if the player must use the secondary weapon due to all weapons being disabledbot.game.teamScore - the team score of the gamebot.game.spatula - the spatula of the game
bot.game.spatula.coords - the coords of the spatulabot.game.spatula.controlledBy - the player id controlling the spatulabot.game.spatula.controlledByTeam - the team controlling the spatulabot.game.stage - the stage of the game (instanceof CoopStates)bot.game.zoneNumber - the active coop zone numberbot.game.activeZone - an array of x/y/z coord objects that the current zone consists ofbot.game.capturing - the users capturing the coopbot.game.captureProgress - a number 1-1000 that signifies the progress of the capturebot.game.numCapturing - the number of players capturingbot.game.capturePercent - the capture percent of the game (as bot.game.captureProgress is a number, this is for convenience)bot.game.collectables - an array with index 0 as an ammo array and index 1 as a grenade array -- each ammo has an ID and an x/y/z coordInformation about the game is available through the bot.game object.
These values, when modified, do nothing. They are ONLY to be used for information.
bot.game.code - the invite code of the gamebot.game.gameMode - the game mode of the game ('ffa', 'team', 'spatula', 'kotc')bot.game.map - the map of the game (instanceof Map)bot.game.playerLimit - the player limit of the gamebot.game.isGameOwner - if the bot is the game ownerbot.game.isPrivate - if the game is privatebot.game.options - the options of the game
bot.game.options.gravity - the gravity of the gamebot.game.options.damage - the damage of the gamebot.game.options.healthRegen - the health regen of the gamebot.game.options.locked - if the game is lockedbot.game.options.noTeamChange - if the game has no team changebot.game.options.noTeamShuffle - if the game has no team shufflebot.game.options.weaponsDisabled - the weapons disabled in the game - in the order of GunList - 1 = disabled, 0 = enabledbot.game.options.mustUseSecondary - if the player must use the secondary weapon due to all weapons being disabledbot.game.teamScore - the team score of the gamebot.game.spatula - the spatula of the game
bot.game.spatula.coords - the coords of the spatulabot.game.spatula.controlledBy - the player id controlling the spatulabot.game.spatula.controlledByTeam - the team controlling the spatulabot.game.stage - the stage of the game (instanceof CoopStates)bot.game.zoneNumber - the active coop zone numberbot.game.activeZone - an array of x/y/z coord objects that the current zone consists ofbot.game.capturing - the users capturing the coopbot.game.captureProgress - a number 1-1000 that signifies the progress of the capturebot.game.numCapturing - the number of players capturingbot.game.capturePercent - the capture percent of the game (as bot.game.captureProgress is a number, this is for convenience)bot.game.collectables - an array with index 0 as an ammo array and index 1 as a grenade array -- each ammo has an ID and an x/y/z coord