So I got this embedded loop error in my code and I am not sure what causes it. I have tried a lot like making extra variables for the picked units.
What I am trying to do is search for units of the type buff around a buff respawn (the unit Powerups). Then if there is a unit nearby the custom value 2 of Powerups should be increasing until it reaches a certain value and respawns another one. Maybe there is an even simpler way of doing it?
Sorry for the long post but there was no option to use a spoiler.
So I got this embedded loop error in my code and I am not sure what causes it. I have tried a lot like making extra variables for the picked units. What I am trying to do is search for units of the type buff around a buff respawn (the unit Powerups). Then if there is a unit nearby the custom value 2 of Powerups should be increasing until it reaches a certain value and respawns another one. Maybe there is an even simpler way of doing it? Sorry for the long post but there was no option to use a spoiler.