Auto Turrets that are deployed within firing range of a zone that has the undestr flag set to true do not take any damage. Its almost as if the entity is considered inside of the zone due to its targetting range overlapping with the zone.

Normally this wouldn't be an issue but a Raidable base spawned close to an undestr zone and the turrets were invincible. I also want to use the undestr flag to protect the spawn area of a large raid event, but I can't or the turrets in the area outside of the zone will be protected from damage also.

For now I have added the following in the OnEntityTakeDamage section, but there may be times when people want to have invincible turrets in zones.

if (entity is AutoTurret)
{
return null;


Could a flag be added to switch this behaviour on and off, or is there a way that Zone Manager could work off the actual true entity position?