Description
Adds a new bot to the specified slot on the specified team so long as the slot is available. This bot will only move, fire, or use abilities if executing Workshop actions. Extra dummy bots may be created if the corresponding Workshop Extension is enabled.
Snippet
Create Dummy Bot(Hero(Tracer), Team(Team 1), -1, Vector(0, 0, 0), Vector(0, 0, 0));
Properties
Returns: Void
Parameters: Hero, Team, Slot, Position, Facing
Hero
Type: Hero, Default: Hero
The hero that the bot will be. If more than one hero is provided, one will be chosen at random.Team
Type: Team, Default: Team
The team on which to create the bot. The "all" option only works in free-for-all game modes, while the "team" options only work in team-based game modes.Slot
Type: Integer, Default: -1
The player slot which will receive the bot (-1 for first available slot). Up to 6 bots may be added to each team, or 12 bots to the free-for-all team, regardless of lobby settings.Position
Type: Position, Default: Vector
The initial position where the bot will appear.Facing
Type: Direction, Default: Vector
The initial direction that the bot will face.