Calling Play() for Cinematic Sequence Device? - I can't get it to for "Instigator Only", only plays for "Everyone."

12/15/22 Original Post Not sure if this is my own scripting mistake or if it’s a bug. Thanks in advice for the help!

I’m trying to play a the Cinematic Sequence for the Instigator Only, so I chose “Instigator Only” for Visibility in the Details Panel.

When I use Event Bindings with a Button, Switch, or Trigger, the sequence plays for the instigating player. (Though I’m not actually sure if it’s only playing for the instigating player or for everyone, because I’m testing my map solo.)

However, when I try scripting this with Verse, adding the same Button, Switch, or Trigger as properties on my Verse device, the sequence doesn’t play for the instigating player. It does play when I choose “Everyone” for the Visibility option on the Cinematic Sequencer Device.

This is my script below. Am I doing something wrong? Also, if I want the Cinematic Sequence to play for the instigating player only, why am I not required to RegisterPlayer the same way I need to for the Audio Player Device? Why isn’t it CinematicSequenceX.Play(Player)?

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /EpicGames.com/Temporary/Diagnostics }

log_AudioInstigatorTest := class(log_channel){}

AudioInstigatorTest := class(creative_device):
    Logger:log = log{Channel:=log_AudioInstigatorTest}

    @editable ButtonTest:button_device = button_device{}
    @editable SwitchTest:switch_device = switch_device{}
    @editable TriggerTest:trigger_device = trigger_device{}
    @editable CinSeqTest:cinematic_sequence_device = cinematic_sequence_device{}

    OnBegin<override>()<suspends>:void=
        Logger.Print("AudioInstigatorDevice started")
        ButtonTest.InteractedWithEvent.Subscribe(OnButtonInteracted)
        SwitchTest.TurnedOnEvent.Subscribe(OnSwitchTurnedOn)
        TriggerTest.TriggeredEvent.Subscribe(OnTriggered)


    OnButtonInteracted(Player:player):void = {
        Logger.Print("Button Interacted With")
        CinSeqTest.Play()
    }

    OnSwitchTurnedOn(Player:player):void = {
        Logger.Print("Switch Turned On")
        CinSeqTest.Play()

    }

    OnTriggered(Player:player):void = {
        Logger.Print("Trigger Triggered")
        CinSeqTest.Play()

    }

=========================================

1/2/23 Update:
Sharing a link to a related post about starting and stopping the Cinematic Sequence for instigator only, by @KyleDev . In that post, @AxelCapek recommends solving my problem by combining Event Binding with Verse. So, I can’t activate a Cinematic Sequence for instigating player using Verse, but I can use Verse to activate a Trigger Device, and the Trigger would activate the Cinematic Sequence for the instigating player.

2 Likes

This is a known limitation of the verse wrapper for the Cinematic Sequence Device right now… it’ll eventually get a Player parameter. HOWEVER, there are technical difficulties in allowing multiple people to watch the same cinematic sequence but like overlapped, while someone else is watching it if it is set to instigator only since Verse is server side. So be aware that even when the Verse wrapper gets updated that will also still be a thing.

2 Likes

Ohhh ok, thanks for the answer, @RayBenefield !! I’m glad to know that this is a known thing and I wasn’t doing anything wrong! So if I want to make it so that a Level Sequence is seen by the “Instigator Only”, I can accomplish this through Event Binding, but I can’t do it with Verse? I guess I could always do most of the work in Verse and then have a weird little extra part that needs to use Event Binding. Awww, but I like to type it all in pretty letters :cry: :laughing:

Also @RayBenefield did you see in my script above that I’m starting to be a curly brackets girl now?? :tipping_hand_woman: When I was tinkering with your Tactics Game script I got used to your curly brackets and I decided to start using them myself too. I think you’re right, they help with clarity and I like not being required to indent. :blue_heart:

I think you’re gonna like my UI snippet, when I publish it! Your Tactics Game helped me a lot!