Bot controller: Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues) |
(updated) |
||
Line 1: | Line 1: | ||
{{tf2 point|bot_controller}} | {{tf2 point|bot_controller}} | ||
== Entity description == | == Entity description == | ||
An entity used to create a bot, and then issue commands to it. | An entity used to create a bot, and then issue commands to it. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Team|choices|The team of the bot.}} | |||
:* 1 : Spectator | |||
:* 2 : Red | :* 2 : Red | ||
:* 3 : Blue | :* 3 : Blue | ||
{{KV|Class|choices|The class the bot will spawn as.}}}} | |||
:* 0 : Random | :* 0 : Random | ||
:* 1 : Scout | :* 1 : Scout | ||
Line 20: | Line 18: | ||
:* 8 : Spy | :* 8 : Spy | ||
:* 9 : Engineer | :* 9 : Engineer | ||
{{KV|Name of the bot.|string|The name of the bot.}} | |||
:{{bug|Non-functional.}} | |||
{{KV BaseEntity}} | |||
==Inputs== | ==Inputs== | ||
{{IO|ClearQueue|Clear the bot's command queue.}} | {{IO|ClearQueue|Clear the bot's command queue.}} | ||
{{I BaseEntity}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnForceRespawn|Sent when the entity respawns the players.}} | {{IO|OnForceRespawn|Sent when the entity respawns the players.}} | ||
{{O BaseEntity}} |
Revision as of 09:24, 29 October 2018
bot_controller
is a point entity available in Team Fortress 2.
Entity description
An entity used to create a bot, and then issue commands to it.
Keyvalues
- Team ([todo internal name (i)]) <choices>
- The team of the bot.
- 1 : Spectator
- 2 : Red
- 3 : Blue
- Class ([todo internal name (i)]) <choices>
- The class the bot will spawn as.}}
- 0 : Random
- 1 : Scout
- 2 : Sniper
- 3 : Soldier
- 4 : Demoman
- 5 : Medic
- 6 : Heavy
- 7 : Pyro
- 8 : Spy
- 9 : Engineer
- Name of the bot. ([todo internal name (i)]) <string>
- The name of the bot.
Bug:Non-functional. [todo tested in ?]
Inputs
- ClearQueue
- Clear the bot's command queue.
Outputs
- OnForceRespawn
- Sent when the entity respawns the players.