OK, I am doing something very wrong
I have spr_a with 15 different animation frames that I want to spawn 15 times, each time with different animation frame (texture in my case)
//create first object
System/On Start of layout:
-Create Object spr_a
-Set animation frame to Random(0,14)
-Array set value at 0 to spr_a.AnimationFrame
//create second object
System/On Start of layout:
-Create Object spr_a
-Set animation frame to Random(0,14)
SUBEVENT
System/For "sprite" from 0 to Array.Width
System/ spr_a.animation frame = Array.At(loopindex("sprite"))
Set animation frame to Random(0,14)
now the problem is I have no idea how to go back to same subevent to check again if animation frames are different, and if different to do:
Array/Push back last spr_a.AnimationFrame on x axis
Maybe I am doing it all wrong from very start, I need your help to figure this visual logic out.