How can I do it (using the turret behavior)Does a family attack itself if they are not on the same team?
You will need to disable automatic targeting and use "Acquire target" action instead. For example:
for each idle turret -> pick enemy turrets in range -> pick nearest of them -> acquire it as a target.
Develop games in your browser. Powerful, performant & highly capable.
That didn't help much,
Did you try my suggestion?
dropbox.com/scl/fi/zp85ibb18bs4846jrgdau/TurretTeams.c3p