1 void spawnfunc_turret_targettrigger();
2 void turret_targettrigger_touch();
4 void turret_targettrigger_touch()
7 if (self.cnt > time) return;
11 e = find(world, targetname, self.target);
14 if (e.turret_flags & TUR_FLAG_RECIEVETARGETS)
17 if(e.turret_addtarget)
18 e.turret_addtarget(other,oldself);
21 e = find(e, targetname, oldself.target);
24 oldself.cnt = time + 0.5;
29 /*QUAKED turret_targettrigger (.5 .5 .5) ?
31 void spawnfunc_turret_targettrigger()
33 if not(autocvar_g_turrets) { remove(self); return; }
37 self.touch = turret_targettrigger_touch;