I have been working on a arena defense map for a while i have some triggerand teamtypes set, 3 waves betwen each wave 8 minutes timer and after the 3rd wave timer ends one of the waves pauses for 4 minutes then re-produces again the issue is it seems the tanks are getting stuck at the waypoint outside the map and not spawning to they waypoint which causes new units coming out getting stuck and not spawning properly for example you see a tank spawning in different location and walking towards the spawning point to jump to the waypoint assigned or 1 tank spawn instead of 3 cause the other 2 are stuck behind, i've tried for 3 days to play around with triggers and such but no luck.
Second issue i have a trigger that makes you auto lose if you build any air buildings works perfectly while playing solo but doesnt work if someone is specing you.
Third issue is, if some tanks stop to defend the base they just sit there and dont move anymore untill some other units come near to attack plus when they attack by numbers ( 20 for example ) 5 of them shoot and the rest just sit waiting doing nothing.
Fourth issue is i think the unit limit doesn't allow the tank to spawn anymore or they completly get stuck all the time i am not sure what is happening.
Last issue is i have set in the map None,0,1 for the building to repair but they dont seem to repair.
Any help would be appreciated.
Link to map: here
Updated map ( fixed everything in order ): Here New One