Hi,
I manage instance variables of sprites with an array XY.
The X is and ID of sprite and Y a number.
I want to check along the array if the number of sprite in Y is equal to a number and destroy all sprites found.
For example my array is :
0 - 0,4
1 - 1,4
2 - 2,3
3 - 3,3
4 - 4,1
5 - 5,1
[/code:1e7rhwkn]
If my number to search is 3 , i want destroy sprites with Y number 3 so i ll destroy sprites in 2,3 in the X of my array.
Ty for helps.