Currently I am having trouble with the condition that picks the nearest object. In my game I am trying to have it so that everyone on team 1 fires a bullet towards the enemies on team 2 nearest to them. The problem is after the enemy has been defeated//killed I don’t know how to make it switch to the next enemy because I am using the fire bullet behavior which only allows you to select one position which I cant figure out how to make it automatically change to the next enemies position. Sometimes the bullet doesnt even fire at the enemy to start.
I’m trying to make a game like Momento Mori, it is an autobattler rpg idle game and so far I am having no luck with it.