Control Switching from Blueprints
The OWL Composite Actor's Blueprint functions for cutting and fading plates, waiting for a switch to finish, and switching in a packaged build.
Last updated About 5 hours ago
Everything the Switching System does in the Details panel can be done from Blueprints, so a show can be run from a game, a control panel or a packaged app. This article lists the functions on the OWL Composite Actor, the nodes that wait for a switch to finish, and how the panel’s names match the Blueprint ones.
The functions are on the
OWL Composite Actor, underOff World Live>Media Profile.Entry Indexis the entry’s place in theSwitching System, counting from0.Slotis the slot number in theMedia Profile.
Switch a Plate
Wait for a Switch to Finish
Fade To Queued And WaitandFade To Slot And Waitswitch a plate and carry on once the switch is over. Exactly one of theirCompletedandFailedoutputs fires, once.Failedgives the reason inIssue, such asNothing Queued,Already SwitchingorTransition Gave Up(the new media didn’t arrive withinFeed Wait Timeout).A
Duration Secondsof0switches straight over.The actor also has the events
On Switch CompletedandOn Switch Failed, which give the entry and the slot.
Queue Media and Change Entry Settings
Check Before You Switch
Panel Names in Blueprints
Media Profile Slots and Timing
The
Media Profile Slotscomponent on the actor can open, close and hold slots ready:Open Slot,Close Slot,Set Slot WarmandPre Roll Slot. A closed slot keeps playing while something else still uses it.The
Media Profilelibrary functions read the active profile:Get Slot Count,Get Slot Source,Get Slot TextureandGet Slot Status.Set Plate Texture From Slotputs a slot on any plate without the picture dropping out.Apply Profile Timecode ProviderandApply Profile Custom Time Stepswitch the engine to the profile’s timecode and genlock, and theRestore Projectfunctions switch back.
In a Packaged Build
Save the level with your
Media Profileapplied before you package. AMedia Profileonly keeps its slot names in the editor, soFind Slot By Nameuses the names saved with the level.Are Slot Names Availabletells you if they are missing.Switching in a packaged build is from Blueprints only, as there is no
Detailspanel.