1 void spawnfunc_turret_targettrigger();
2 void turret_targettrigger_touch();
4 void turret_targettrigger_touch()
7 if (self.cnt > time) return;
10 e = find(world, targetname, self.target);
13 if (e.turret_flags & TUR_FLAG_RECIEVETARGETS)
16 if(e.turret_addtarget)
17 e.turret_addtarget(other,oldself);
20 e = find(e, targetname, oldself.target);
23 oldself.cnt = time + 0.5;
28 /*QUAKED turret_targettrigger (.5 .5 .5) ?
30 void spawnfunc_turret_targettrigger()
32 if(!autocvar_g_turrets) { remove(self); return; }
36 self.touch = turret_targettrigger_touch;