Bot proxy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Gatelych83 (talk | contribs) m (Fixed up a few keyvalues) |
||
Line 6: | Line 6: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV| | {{KV|Bot Name|string|The bot's player name}} | ||
{{KV| | {{KV|Class|TFClass|...}} | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 32: | Line 32: | ||
| 9 || engineer | | 9 || engineer | ||
|} | |} | ||
{{KV| | {{KV|Team|TFTeam|...}} | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 43: | Line 43: | ||
| 3 || Blue | | 3 || Blue | ||
|} | |} | ||
{{KV| | {{KV|Spawn on start|boolean|Spawn on start|Spawn this bot when the round starts [ 1 = YES / 0 = NO ]}} | ||
{{KV| | {{KV|Respawn delay|float|Respawn delay|If nonzero, respawn this bot N seconds after it dies}} | ||
{{KV| | {{KV|Action point|target_destination|Put the name of a bot_action_point here to tell the bot to move to it when it spawns in.}} | ||
== Flags == | == Flags == |
Revision as of 11:11, 7 September 2017
Documentation was created by... --Nico (talk) 18:32, 1 April 2017 (UTC)
bot_proxy
is a point entity available in Team Fortress 2.
Keyvalues
Index | String |
---|---|
0 | auto |
1 | scout |
2 | sniper |
3 | soldier |
4 | demoman |
5 | medic |
6 | heavyweapons |
7 | pyro |
8 | spy |
9 | engineer |
Index | String |
---|---|
1 | Auto |
2 | Red |
3 | Blue |
- Action point ([todo internal name (i)]) <targetname>
- Put the name of a bot_action_point here to tell the bot to move to it when it spawns in.
Flags
Inputs
- SetTeam <string >
- Change the bot's team (0:auto, 1:red, 2:blue)
- SetClass <string >
- Change the bot's class (auto, soldier, pyro, etc)
- SetMovementGoal <targetname >
- Tell the bot to move to the given goal.
- Spawn
- Spawn a TFBot at this position
- Delete
- Delete the existing TFBot
Outputs
- OnSpawned
- Sent when the TFBot has spawned into the environment
- OnInjured
- Sent when the TFBot has been injured
- OnKilled
- Sent when the TFBot has been killed
- OnAttackingEnemy
- Sent when the TFBot has started attacking an enemy
- OnKilledEnemy
- Sent when the TFBot has killed an enemy