mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-24 06:48:24 -05:00
Updated Switch scenes randomly (markdown)
parent
5449e5ee70
commit
836bcd7af7
|
|
@ -1,32 +1,4 @@
|
|||
Depending on what your requirements are different approaches can be used to randomly switch to one scene of a list of scenes.
|
||||
|
||||
* If you want to switch to each scene for the same or a random amount of time before continuing to the next one using [Scene Groups](Scene-groups) would be recommended.
|
||||
* If you instead want to switch to each scene for a predetermined amount of time using the "Random" macro action is likely the best approach.
|
||||
|
||||
## Scene Groups
|
||||
|
||||
As first step you will have to set up a [Scene Groups](Scene-groups) containing all the scenes you want to randomly switch to.
|
||||
Make sure to set the type to "Random".
|
||||
|
||||

|
||||
|
||||
Next [create a macro](Macros#creating-a-new-macro) to switch to switch to this scene group.
|
||||
|
||||
As a condition chose whatever best fits your needs. In this example we will continuously switch scenes randomly so we choose the "Plugin state" condition type.
|
||||
|
||||
The action will consist of a scene switch action (1) and a wait action (2).
|
||||
As the scene switch target select the previously created scene group.
|
||||
Finally configure the wait action to your needs.
|
||||
In this example it was set to wait for a random duration between 5 and 10 seconds.
|
||||
|
||||

|
||||
|
||||
This macro will now continuously switch to a scene from the [Scene Groups](Scene-groups) wait for a random duration between 5 and 10 seconds before triggering the next scene switch.
|
||||
To not interfere with other macros you might have created you can mark this macro to run in parallel to other macros (3).
|
||||
|
||||
## Random macro action
|
||||
|
||||
This approach is more tedious to set up than the one using [Scene Groups](Scene-groups) but will allow you configure how long to stay on each particular scene before continuing to the next one.
|
||||
## Random scene switching
|
||||
|
||||
First [create macros](Macros#creating-a-new-macro) for each scene you want to randomly switch to.
|
||||
These macros will not require any conditions as they will be executed by another macros.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user