assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

[SOLVED] - How to use Get/Set Global Values?



  • I want to pass a value from a previous scene, read it in the current scene, change it in the current scene, and read new value in the next scene. This does not work with the attached patch. What am I missing?

    (I know if I leave only Set Global Value in the first scene, and Get Global Value in the second, I get the new value in the second scene, but I also need to change this value in the second scene, and so on)

    Thanks.

    set-get-global-values.izz



  • So basically what happens is that Isadora is getting a 'Trigger' to overwrite the value in Scene 2 (So the Set Value will execute). This happens when the Scene starts. Why it is doing this behavior and how you can actually turn it off is a mystery to me :) (Perhaps the Isadora staff can answer this. @Woland)


    But for now, this workaround works.

    PatchSetGet


  • Tech Staff

    @juriaan said:

    This happens when the Scene starts. Why it is doing this behavior and how you can actually turn it off is a mystery to me

     This is the intended behavior. I use it to set or manipulate a value from one constantly-active secondary Scene like this

    • Have a secondary Scene with the Set Global Values actor that has a Control ID
    • Make a Number Control
    • Enable the "Display Value of Linked Properties"
    • Have multiple Scenes with your Get Global Values actors and give the same Control ID to their output to monitor it.


  • Tech Staff

    Or you could make a Scene Number dependent system like this (which allows you to set what the number will be in each Scene, adjust it live, and have it recall the number based on the current Scene Number). This thing I just slapped together would only work with no fade times though.


  • Tech Staff

    @eight @Juriaan 

    The Set Global Value actor only sends to the Get Global Value actor with the same name. The Set Global Value does never Get, thats why it does not Sync with the other "Set" instances of the same names.

    And if you have the same Set and Get actor in every scene the Get will take the value from the Set in the current scene because it is executed after the one in the previous scene. I hope I could explain it clear enough.

    Best Michel



  • Thanks guys, @Juriaan 's patch works, and can be neatly incapsulated into a user actor -- thank you very much.


    In principle, I would request Troikatronix a feature (Set/Get Global Value ++) whereby the action of Setting/Getting happens on trigger only. I think that would make this actor much more transparent and versatile.


  • Tech Staff

    @eight said:

    In principle, I would request Troikatronix a feature (Set/Get Global Value ++) whereby the action of Setting/Getting happens on trigger only. I think that would make this actor much more transparent and versatile.

    This is not how this Actor is intended to function. Listeners update when they receive new information from Broadcasters. Get Global Values update when they receive new data from a Set Global Values or you enter a Scene. This behavior is outlined in the actor description.



  • @woland I mean explicit trigger events wired to a new "trigger" port of the Get/Set Global Values actor and controlled at will by the user.