I've tried to find information in tutorials, expressions, and general troubleshooting, but I'm coming up blank... hoping someone might have done this before, or something like it.
I've got a level where I'm trying to set up random tile generation. The goal is to have different tile 'sets'. To do this, I've got one sprite with three animations: Jungle, Snow, and Desert. I will attach an image.
I am able to successfully reach random tiles with the array setup. However, as you can see, it affects each tile separately. Of course I want this for assigning a random number, but NOT for assigning which of the animations to use. I want all the tiles choosing a random frame from the same, random animation.
As you can see, I've tried 'pick all' for my tiles, but it doesn't affect all the tiles uniformly. It seems to work exactly like the 'for each' function and just has each tile choose an animation separately.
Is there something I can call to select all these tiles and give them ALL the same random animation BEFORE their numbers are assigned? Thereby making it so random levels generate within ONE tileset, instead of all of them?
Thank you!