bot_proxy
Jump to navigation
Jump to search
bot_proxy
is an e0 available in Team Fortress 2.

- The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
It creates a functioning bot which can move around and attack players or other bots.



Keyvalues
- Bot Name ([todo internal name (i)]) <string>
- Name of the bot.
Bug:Creates random gibberish names if specified, otherwise it is named TFBot(number). [todo tested in ?]
- Class ([todo internal name (i)]) <string>
- Class of the bot. Options are: auto, scout, sniper, soldier, demoman, medic, heavyweapons, pyro, spy and engineer.
Bug:Does not function, always picks a random class. SetClass input works, however. [todo tested in ?]
- Team ([todo internal name (i)]) <string>
- Team of the bot. Options are: auto, red and blue.
Bug:Does not function, always picks the red team. SetTeam input works, however. [todo tested in ?]
- Spawn on start ([todo internal name (i)]) <boolean>
- Spawn a bot when the round starts.
Bug:Does not function, use the Spawn input instead. [todo tested in ?]
- Respawn delay ([todo internal name (i)]) <float>
- If non-zero, respawn a bot N seconds after it dies.
Bug:Cannot function since the bot is kicked on death. [todo tested in ?]
- Action point ([todo internal name (i)]) <targetname>
- Name of a bot_action_point to tell a bot to move to it when it spawns in.
Bug:Does not function. [todo tested in ?]
Inputs
- SetTeam <string >
- Changes the bot team immediately. Options are: auto, red and blue.
- SetClass <string >
- Change the bot class immediately. Options are: auto, scout, sniper, soldier, demoman, medic, heavyweapons, pyro, spy and engineer.
- SetMovementGoal <targetname >
- Tell a bot to move to the given goal.
Bug:Does not function. [todo tested in ?]
- Spawn
- Spawn a bot at this bot_proxy.
- Delete
- Delete any existing bots from this bot_proxy.
Outputs
- OnSpawned
- Sent when a TFBot has spawned.
- OnInjured
- Sent when a TFBot has been injured.
Bug:Does not function. [todo tested in ?]
- OnKilled
- Sent when a TFBot has been killed.
Bug:Does not function. [todo tested in ?]
- OnAttackingEnemy
- Sent when a TFBot has started attacking an enemy.
Bug:Does not function. [todo tested in ?]
- OnKilledEnemy
- Sent when a TFBot has killed an enemy.
Bug:Does not function. [todo tested in ?]