Hey guys, im trying to make a function repeat "x amount" of time, this is set to a global variable. Everytime the function gets fired, it add to this number. This somewhat works, but somehow, in my case 10 times, spawns the double amount of instances.
Thats ok for now, but my main problem is, i want the object getting destroyed, as soon as its spawned and overlapping with the same kind.If so, it subtracts from the "x amount".
Also 1 planet is already placed at the start as a starting point for the player.
I dont know where im making the mistake, sometimes construct events are confusing for me.
Hope you guys can help me
This version wont work either :/ im so lost