Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
scripting.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void bot_clearqueue (entity bot)

Function Documentation

◆ bot_clearqueue()

void bot_clearqueue ( entity bot)

Definition at line 21 of file scripting.qc.

22{
23 if(!bot.bot_cmdqueuebuf_allocated)
24 return;
25 buf_del(bot.bot_cmdqueuebuf);
26 bot.bot_cmdqueuebuf_allocated = false;
27 LOG_TRACE("bot ", bot.netname, " queue cleared");
28}
#define LOG_TRACE(...)
Definition log.qh:76

References entity(), and LOG_TRACE.

Referenced by bot_clientdisconnect(), bot_cmd_if(), bot_dequeuecommand(), and MUTATOR_HOOKFUNCTION().