hi, I am new to GDevelop. I am trying to make a custom targetting system for my AI which uses team stats, but it does not work.
I tried debugging it, and have found that it works when only the player is in the targetables group.
in another test, I added a variable which resets every loop, and adds by one for every found targetable, and it was stuck at one, so I either messed up the variable setters, or it is only selecting one target, and then ending.
also this is an external event which the main scene calls.