Hello,
In my game I have an array with 3 values (10, 11, 12). These values correspondent with an instance value of a sprite (for example an enemy sprite with an instance value of EnemyID = 10).
I would like the following: when an enemy is destroyed, I want the corresponding value removed from the array. So if enemy with EnemyID = 10 is destroyed, remove the index from the array where the value is 10.
Is this possible? How can I achieve this?