Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
bot_null.qc
Go to the documentation of this file.
1#include "bot_null.qh"
2
3#if 0
4bool bot_aim(entity this, .entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, float applygravity, bool shot_accurate) { return false; }
5void bot_clientconnect(entity this) { }
6void bot_clientdisconnect(entity this) { }
7void bot_cmdhelp(string scmd) { }
8void bot_endgame() { }
9bool bot_fixcount(bool multiple_per_frame) { return true; }
10void bot_list_commands() { }
11void bot_queuecommand(entity bot, string cmdstring) { }
12void bot_relinkplayerlist() { }
13void bot_resetqueues() { }
14void bot_serverframe() { }
15bool bot_shouldattack(entity this, entity e) { return false; }
16void bot_think(entity this) { }
17
18entity find_bot_by_name(string name) { return NULL; }
19entity find_bot_by_number(float number) { return NULL; }
20
21void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius) { }
22void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius) { }
23
24entity navigation_findnearestwaypoint(entity ent, float walkfromwp) { return NULL; }
27void navigation_markroutes(entity this, entity fixed_source_waypoint) { }
28void navigation_markroutes_inverted(entity fixed_source_waypoint) { }
29void navigation_routerating(entity this, entity e, float f, float rangebias) { }
30
31bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float end_height, float movemode) { return false; }
32
34void waypoint_remove(entity wp) { }
35void waypoint_saveall() { }
40void waypoint_spawnforteleporter(entity e, vector destination, float timetaken, entity tracetest_ent) { }
41void waypoint_spawnforteleporter_wz(entity e, entity tracetest_ent) { }
42void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp, bool is_crouch_wp, bool is_support_wp) { }
43entity waypoint_spawn(vector m1, vector m2, float f) { return NULL; }
44#endif
void waypoint_spawnforitem(entity e)
void bot_resetqueues()
void waypoint_schedulerelinkall()
entity find_bot_by_number(float number)
Definition scripting.qc:246
bool bot_fixcount(bool multiple_per_frame)
Definition bot.qc:623
entity navigation_findnearestwaypoint(entity ent, float walkfromwp)
void navigation_goalrating_start(entity this)
entity find_bot_by_name(string name)
Definition scripting.qc:235
void navigation_markroutes_inverted(entity fixed_source_waypoint)
void bot_queuecommand(entity bot, string cmdstring)
Definition scripting.qc:30
void bot_think(entity this)
Definition bot.qc:62
void bot_cmdhelp(string scmd)
Definition scripting.qc:331
void waypoint_spawnforteleporter(entity e, vector destination, float timetaken, entity tracetest_ent)
bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float end_height, float movemode)
void waypoint_schedulerelink(entity wp)
void waypoint_spawnforteleporter_wz(entity e, entity tracetest_ent)
void navigation_markroutes(entity this, entity fixed_source_waypoint)
bool bot_aim(entity this,.entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, float applygravity, bool shot_accurate)
void navigation_routerating(entity this, entity e, float f, float rangebias)
void bot_endgame()
Definition bot.qc:412
entity waypoint_spawn(vector m1, vector m2, float f)
Definition waypoints.qc:433
void bot_list_commands()
Definition scripting.qc:444
void navigation_goalrating_end(entity this)
void waypoint_remove_fromeditor(entity pl)
Definition waypoints.qc:838
void bot_serverframe()
Definition bot.qc:689
void waypoint_spawnforitem_force(entity e, vector org)
void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp, bool is_crouch_wp, bool is_support_wp)
Definition waypoints.qc:568
void waypoint_saveall()
void waypoint_remove(entity wp)
Definition waypoints.qc:819
bool bot_shouldattack(entity this, entity e)
Definition aim.qc:97
void bot_relinkplayerlist()
Definition bot.qc:424
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string name
Definition menu.qh:30
#define NULL
Definition post.qh:14
vector
Definition self.qh:92
vector org
Definition self.qh:92
int int number
Definition impulse.qc:89
void bot_clientdisconnect(entity this)
Definition bot.qc:454
void bot_clientconnect(entity this)
Definition bot.qc:469
void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius)
Definition roles.qc:106
void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius)
Definition roles.qc:176