if(!this.bot_cmd_current)
{
this.bot_cmd_current = new_pure(bot_cmd);
- this.bot_cmd_current.is_bot_cmd = true;
}
bot_cmd = this.bot_cmd_current;
entity bot_cmd; // global current command
.entity bot_cmd_current; // current command of this bot
-.float is_bot_cmd; // Tells if the entity is a bot command
.float bot_cmd_index; // Position of the command in the queue
.int bot_cmd_type; // If of command (see the BOT_CMD_* defines)
.float bot_cmd_parm_float; // Field to store a float parameter
setsize(node, '0 0 0', '0 0 0');
setorigin(node, where);
- node.medium = pointcontents(where);
#if DEBUGPATHING
pathlib_showsquare(where, 1 ,15);
#endif
.entity path_prev;
#define inwater(point) (pointcontents(point) == CONTENT_WATER)
-.int medium;
const vector PLIB_FORWARD = '0 1 0';
//#define PLIB_BACK '0 -1 0'