> I have 50 instances and I need to get some instances and change the frame of them one by one. I am trying to do this using the UID number but it is not working.
> My pseudo-code:
> > Pick all Sprite
> > For each Sprite order by Sprite.UID ascending
> > Sprite AnimationFrame > 0 : Sprite Set AnimationFrame = Sprite.AnimationFrame+1[/code:2oirrxxn]
try using IID - its the numeration of objects that are part of same type. while uid - is numeration of objects all placed in screen (if you have other objects placed your objects you pick wold not have a incremental order like from 1,2,3,4,5,6,7,8,9 but more like sprite uid 1,2,6,12,13,14, etc)
I think it's not the problem I am having. Maybe the UID is not the issue. But I don;t know what I need to do to get this working. It is the smaller part of the game and I cannot solve it. I will be grateful if you can try to change my pseudo-code to try to help me to figure out this feature.