How to set up voiceovers and set variables via script

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

How to set up voiceovers and set variables via script

Post by etsapekis »

I'd like to know what the setup is for setting up voiceovers with the dialogues and I'd also like to know how to set dialogue system's variables via code
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to set up voiceovers and set variables via script

Post by Tony Li »

Hi,

To get and set DS variables, use DialogueLua.GetVariable() and SetVariable().

For voiceover, see Cutscene Sequences -- especially entrytags and the lipsync section. Also see the Voiceover Script export format.

The Cutscene Sequences Tutorials covers entrytags and voiceover, too.
Post Reply