I have a project where a minion overlaps the tower.
Needless to say, the problem occurs when more than one minion overlaps the tower at the same time.
It turns out I've figured out how to go through this problem, or at least ways.
It is only to condition a certain event/function once and define a loop.
I can cause the damage to be applied to the tower correctly if I make the code in the tower (adding an information about the amount of minions overlapping the tower).
The problem is that the overlap oscillates. This disrupts the reception of variable information, since the minion at some point stops overlapping the tower.
I tried to fix this by adding a parameter to the event, but using it I can not reference the tower variable:
Not even using the construction script:
I thought of something like a variable receive the reference of the tower, and if at the time of receiving the variable the reference of the tower fails, use it.
But all that I tried in this sense, something similar happened to that shown in figure 2.