Simple bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


As an alternative to using <code>ent_create</code> for spawning instances of simple_bot, the [[cheat]] command <code>simple_bot_add</code> will instantly create the entity wherever your crosshair aims at.
As an alternative to using <code>ent_create</code> for spawning instances of simple_bot, the [[cheat]] command <code>simple_bot_add</code> will instantly create the entity wherever your crosshair aims at.
{{bug|Using <code>simple_bot_add</code> will crash the game immediately in Team Fortress 2. Use ent_create simple_bot instead.}}
{{bug|Using <code>simple_bot_add</code> will crash the game immediately in Team Fortress 2. Use <code>ent_create simple_bot</code> instead.}}


[[Category:NextBot Entities]]
[[Category:NextBot Entities]]

Revision as of 13:33, 29 January 2018

simple_bot is a point entity available in several Source Engine games. It is a very rudimentary example of a NextBot entity, displaying the bare minimum required for the AI system to function.

This entity uses the model of a female Citizen - with no animations associated with it - and is unable to be damaged or killed. If the map has a .nav file, the entity will move to random areas when possible.

As an alternative to using ent_create for spawning instances of simple_bot, the cheat command simple_bot_add will instantly create the entity wherever your crosshair aims at.

Icon-Bug.pngBug:Using simple_bot_add will crash the game immediately in Team Fortress 2. Use ent_create simple_bot instead.  [todo tested in ?]