Page 1 of 1

Set sequencer camera with script?

Posted: Mon Dec 26, 2022 6:40 pm
by JasonDev
Hi there,

Can't seem to find this in the documentation for the API (still beginner coding) but how can we set the sequencer camera/alternate camera object with script at runtime?

Re: Set sequencer camera with script?

Posted: Mon Dec 26, 2022 6:50 pm
by Tony Li
Hi,

You can assign a camera to DialogueManager.displaySettings.cameraSettings.sequencerCamera.

If a conversation is already playing, use DialogueManager.conversationView.sequencer.UseCamera() instead -- or use the SwitchCamera() sequencer command.