Set sequencer camera with script?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
JasonDev
Posts: 4
Joined: Sun Dec 25, 2022 1:23 pm

Set sequencer camera with script?

Post 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?
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Set sequencer camera with script?

Post 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.
Post Reply