Very cool.
I can query the values of the scene already online compared to the incoming scene which is doing the querying.
The example provided doesn't do this, but the incoming scene could use the variable "onlinescene" to trigger transitions off while "self" triggers transitions on, right?
Original Message:
Sent: 08-14-2023 17:46
From: Garner Millward
Subject: Alternate to Transition Logic?
Here's a very very old project showing how we did transition logic using OnBeforeOnline and OnBeforeOffline and comparing the text values of the scenes.
Not sure if this will help you or not, but this is the only example of the old way of transition logic I have.
Original Message:
Sent: 08-09-2023 10:48
From: Azathoth Son of Cthulhu
Subject: Alternate to Transition Logic?
Thank you for the info and ideas.
------------------------------
Azathoth
Son of Cthulhu
Original Message:
Sent: 08-09-2023 10:45
From: Simon Redmile
Subject: Alternate to Transition Logic?
you wouldn't really be able to use that unless you're using transition logic, as far as I am aware, thisScene and otherScene are only mean something when scripting in transition logic.
Instead you'd need to use something like getSceneOnLayer and pull the info that way. You'd probably also need to do some trickery with layers.
For example if the active layer was "1" you would pull data from the scene currently on "1" but your oncoming scene would be on "0". Once the other scene is offline and your new scene is full on you can move it from layer "0" to layer "1" ready for the next item.
They're may be other ways to achieve what you want but this is what came into my head, this is all theoretical at this point.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 08-09-2023 10:40
From: Azathoth Son of Cthulhu
Subject: Alternate to Transition Logic?
Unfortunately the SDK documentation isn't always very helpful. How do I know if the takeItem data I am comparing is the current scene or the previous or the next scene?
Better yet, how do you access the previous or next scene?
------------------------------
Azathoth
Son of Cthulhu
Original Message:
Sent: 08-09-2023 10:19
From: Simon Redmile
Subject: Alternate to Transition Logic?
Probably what you'd want to do on the incoming scene onBeforeOnline is collect the data from the currently online scene you intend to playout.
Then onOnline set that scene offline.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 08-09-2023 10:00
From: Azathoth Son of Cthulhu
Subject: Alternate to Transition Logic?
Aside from transition logic, is there a way to compare incoming and outgoing data from scenes with VB?
Can a scene doing a transition out get takeItem data from an incoming scene?
Can a scene doing a transition in get takeItem data from an outgoing scene?
I would like to trigger scene directors based on this via VB instead of having a dozen plus transition rules.
------------------------------
Azathoth
Son of Cthulhu
------------------------------