Showing/hiding things on a single scene is generally not the recommended way to do things. Have a dedicated scene for each thing instead, so you have lots of simple scenes instead of a few complex ones. If you're layering things so that all are visible at the same time, then of course you need all of that to be in the same scene, but beyond that, use a different scene.
Also, the Wait action commits you to the entire sequence unless you can stop the macro. *Maybe* that's what you want, as a form of "tamper resistance", but most of the time, I think you want it to be easily escapable. To do that, you'll have a bunch of macros:
- Macro A
- Conditions
- If Scene A for 10 seconds
- Actions
- Macro B
- Conditions
- If Scene B for 10 seconds
- Actions
- Macro C
- Conditions
- If Scene C for 10 seconds
- Actions
- Etc.
Then if you want to escape, just switch manually to something else. The timer will reset because it's not on that scene anymore, and so the macro won't run.
The pattern should be obvious, so now the question becomes, "How to collapse it all into one macro that follows that pattern?" I'm thinking about a naming convention for the scenes, that defines the available ones to switch to, and a sequence number. So then the one macro might be:
- Sequence Macro
- Conditions
- If Scene <prefix><number> for 10 seconds
- Actions
- number = number + 1
- Switch to Scene <prefix><number>
Each image in the slideshow is also its own scene, not a self-contained show.
Now the sequence can be any length, simply by the number of scenes that follow that naming convention. The macro stays the same regardless. It does rely on well-behaved error handling, when the scene past the end doesn't exist, so you might want to test that before you use it in production.
And maybe you have a second, "starting" macro that sets the variable and switches to the scene that it corresponds to. Maybe something like this:
- Starting Macro
- Conditions
- Actions
- number = 0
- Run actions of Sequence Macro
If you follow the program flow here, that will Switch to Scene <prefix>1 and continue through the sequence. And the naming convention only exists in one macro, and is therefore easier to modify if needed.
@Warmuptill Is that use of variables possible?