3 void delay_delayeduse(entity this)
5 SUB_UseTargets(this, this.enemy, this.goalentity);
6 this.enemy = this.goalentity = NULL;
9 void delay_use(entity this, entity actor, entity trigger)
12 this.goalentity = trigger;
13 setthink(this, delay_delayeduse);
14 this.nextthink = time + this.wait;
17 void delay_reset(entity this)
19 this.enemy = this.goalentity = NULL;
20 setthink(this, func_null);
24 spawnfunc(trigger_delay)
30 this.reset = delay_reset;