///my sprite tile
on load do
f = random 2
frame f
log "{f}, {frame};"
end
////
Room with 11 sprite instances
Expected: log = "0, 0; 2, 2; 2, 2; 1, 1; 0, 0;..." //one pair for each instance
Actual: log = "[random num 0,1,2], 0" //one time only
I have a tile with 3 frames (0,1,2) I am trying to tell all instances of the tile to randomize their frame on load. However, frame only returns 0. Why isn't this working?