There are a few problems I run into with scenes when using the Set-Restore and I wonder if anyone has dealt with this and found a simple solution. I'll describe it in terms of a simple scene that turns a light on while playing.
First, if Premise restarts while a scene is playing, it seems the scene forgets the original state of the the light. So when the scene stops the light is not turned off. Second, if the something (a person) directly turns the light off and on while the scene is playing, then again the scene forgets the light's original state and doesn't restore it. (This might be intended design. Maybe it makes sense for the light to now be consider under manual operation instead of under scene control.) Finally, I suppose I usually don't even really want a "Restore" exactly. Instead I want the light to definitely go off when the scene stop no matter what the original state was.
I can imagine making all this happen a couple different ways. For example, instead of one scene to do this I can have two "Set" behavior scenes, one to set the light on and another to set the light off. But now I have twice as many scenes to manage and I don't get the nice "Playing" scene state UI to show up in the browser. Another solution might be to have scripts that run when the scene's Play state changes and set my light property in that script. But this is much more tedious than the builder's UI for creating scenes.
Does anyone else experience this sort of problem? Do you have any creative solutions?
First, if Premise restarts while a scene is playing, it seems the scene forgets the original state of the the light. So when the scene stops the light is not turned off. Second, if the something (a person) directly turns the light off and on while the scene is playing, then again the scene forgets the light's original state and doesn't restore it. (This might be intended design. Maybe it makes sense for the light to now be consider under manual operation instead of under scene control.) Finally, I suppose I usually don't even really want a "Restore" exactly. Instead I want the light to definitely go off when the scene stop no matter what the original state was.
I can imagine making all this happen a couple different ways. For example, instead of one scene to do this I can have two "Set" behavior scenes, one to set the light on and another to set the light off. But now I have twice as many scenes to manage and I don't get the nice "Playing" scene state UI to show up in the browser. Another solution might be to have scripts that run when the scene's Play state changes and set my light property in that script. But this is much more tedious than the builder's UI for creating scenes.
Does anyone else experience this sort of problem? Do you have any creative solutions?