Specify Starting Entry (and include previous nodes)

Announcements, support questions, and discussion for the Dialogue System.
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Re: Specify Starting Entry (and include previous nodes)

Post by alexlol »

Thanks! I'm using FMod to trigger sound events so I've created a custom sequencer command that seems to do the job.

Is there a way to add a sequence command onto a node without clearing the default command? There are some nodes where I'd like to add a Continue()@3 command for example, but then it doesn't seem to call the default command and I end up having to add it back in manually.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Specify Starting Entry (and include previous nodes)

Post by Tony Li »

Hi,

Use the special keyword {{default}}. This will be replaced by the value of the Dialogue Manager's Default Sequence field. If it's a player subtitle and the Default Player Sequence field is set, it will use the Default Player Sequence instead.

Code: Select all

{{default}}; Continue()@3
alexlol
Posts: 35
Joined: Sat Nov 07, 2020 8:20 am

Re: Specify Starting Entry (and include previous nodes)

Post by alexlol »

I saw this in the documentation but must have misinterpreted it. The {{default}} keyword is exactly what I needed, thank you!
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Specify Starting Entry (and include previous nodes)

Post by Tony Li »

Glad to help!
Post Reply