Hi i have this skill that fall down but i only manage to strike 1 enemy at a time but when the enemy die i need to get out or the range and enter again to detect another enemy. if it possible i want to detect or store multiple enemies position at once or even an enemy die i can still locate another enemy position without even exiting the skill range and enter again. Thanks so much in advance!!!
it works! thanks so much ive been had a hard time to search for this prob cause i cant access the object position inside of the array if im correct idk how i will study this Thanks so much !!! both of you!!!
i have a question why target[i].global_position not work or target[i]
that depends on the way you do the for-loop.
If you do for i in targets:, āiā will take be values that are inside the targets-array. And when you dofor i in len(targets): āiā will be 0, 1, ā¦ , len(targets) and you can only access an element inside an array with a number, so the second method