bot.qc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Copyright (C) 1996-2022 id Software LLC
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  13. See file, 'COPYING', for details.
  14. */
  15. /*
  16. ========================
  17. Bot_PreThink
  18. Called by the engine every frame before running the bots update in C++
  19. Example usages of this function:
  20. 1. Telling bots what to do or where to go.
  21. 2. Modifying properties on the bot player ( or other players in-game ) that the bots can see/use doing their update.
  22. ========================
  23. */
  24. void Bot_PreThink() {
  25. };
  26. /*
  27. ========================
  28. Bot_PostThink
  29. Called by the engine every frame after running the bots update in C++
  30. Example usages of this function:
  31. 1. Overriding/modifying bot user cmds.
  32. 2. Overriding/modifying bot player properties.
  33. ========================
  34. */
  35. void Bot_PostThink() {
  36. };