im now trying for quite some hours everything i thought might work, but nothing.
Several different event combinations with "for each sprite","for each tower", "for each (sorted) tower by y" descending, ascending, call a function to sort everything...
because i thought it has something to do with the UID i even implemented that every tower gets rebuild sorted by its y value, descending, ascending when a key is pressed, doesnt work.
descending, ascending does change the buggy behaviour, that means its not the same towers that are affected but i didnt find a solution where every tower behaved the way i wanted.
the strange thing about it is that only some towers are affected and i cant find the missing link.
the code works perfect when the walkersprite is only overlapping one tower but with two or more it SOMETIMES doesnt work..
i did build a tower on every field thats near the street, turns out you can fix the situation by rearanging the towers, but i dont see the pattern here, all i know its not solved by rebuilding all towers by ascending or descending y values.
my head hurts