+void turret_targettrigger_touch(entity this, entity toucher)
+{
+ if (this.cnt > time) return;
+ IL_EACH(g_turrets, it.targetname == this.target,
+ {
+ if (!(it.turret_flags & TUR_FLAG_RECIEVETARGETS)) continue;
+ if (!it.turret_addtarget) continue;
+ it.turret_addtarget(it, toucher, this);
+ });
+ this.cnt = time + 0.5;