Hi everyone, I am trying to generalize a subflow so that I can use it in multiple rooms of my place.
Some of my global scope properties look something like global.currentscene.livingroom
or global.currentscene.bedroom
.
What I am now doing is that I am setting an env variable $room
in my subflow in the attempt to be able to set global properties dynamically from inside the subflow. In other words, I am trying to then do something like:
Change Node -> Property -> global.currentscene.$room
-> Assign value
I have read the docs but it is still unclear to me whether I can achieve something like this. This page mentions not being able to reference partial stuff, but does that mean that I should instead assign a value such as global.currentscene.livingroom
to my env, rather than livingroom
, and then just use $room
?
Thanks