This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SCENES VS SCRIPTS
#1
Greetings

I need to drive various lights divided into scenes
 with groups and subgroups, I should use scripts to activate or deactivate scenes or compile the scenes with all the addresses to drive, both for switching on and off.

Thanks so much
Reply
#2
Both approaches will work. You can trigger scenes from scripts and vice versa. Just make sure you don't create an infinite loop Smile
Reply
#3
(06.09.2023, 13:01)admin Wrote: Both approaches will work. You can trigger scenes from scripts and vice versa. Just make sure you don't create an infinite loop Smile

Yes

in fact my fear is precisely that I was trying to create a script that activates or deactivates subgroups of scenes so that it is also convenient for future modification.
Could this be a valid idea?

A thousand thanks
Reply
#4
There's a possibility to run multiple scenes from a script by using tags: https://openrb.com/docs/lua.htm#scene.tagrun
Reply


Forum Jump: