spawnfunc(turret_targettrigger);
void turret_targettrigger_touch(entity this, entity toucher);
void turret_targettrigger_touch(entity this, entity toucher)
{
if (this.cnt > time) return;
spawnfunc(turret_targettrigger);
void turret_targettrigger_touch(entity this, entity toucher);
void turret_targettrigger_touch(entity this, entity toucher)
{
if (this.cnt > time) return;
if (!(it.turret_flags & TUR_FLAG_RECIEVETARGETS)) continue;
if (!it.turret_addtarget) continue;
it.turret_addtarget(it, toucher, this);
if (!(it.turret_flags & TUR_FLAG_RECIEVETARGETS)) continue;
if (!it.turret_addtarget) continue;
it.turret_addtarget(it, toucher, this);