void havocbot_goalrating_ast_targets(float ratingscale)
{
- entity ad, best, pl, wp, tod;
- float radius, found, bestvalue, c;
+ entity ad, best, wp, tod;
+ float radius, found, bestvalue;
vector p;
ad = findchain(classname, "func_assault_destructible");
void havocbot_ast_reset_role(entity bot)
{
- local entity head;
- local float c;
-
if(self.deadflag != DEAD_NO)
return;
void trigger_push_touch()
{
- vector move;
-
if (self.active == ACTIVE_NOT)
return;
{
local entity e, t;
local vector org;
- local float flighttime;
// first calculate a typical start point for the jump
org = (self.absmin + self.absmax) * 0.5;