Best Way to Handle Story Progression

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Best Way to Handle Story Progression

Post by RoguePimptastic »

I'm trying to figure out the best way to handle story progression. For right now, I have a collider on the main NPC. When triggered it goes to the Start Conversation I call "Vanora1". Once that conversation is over, though I want to have it switch to one called "Vanora2", that way I don't have the first one being too large. At the end of Vanora1, it increases a progress variable to 3 (I have a couple of dialogue "checkpoints along the way). I have a node in Vanora1 coming off the Start, that only fires if the progress variable is 3. I link that Node to Vanora2.

Is there a way though, to change the Dialogue Trigger to a different conversation depending on variables? So, instead of having to go to the first conversation, check variables, then go on to a new conversation, it would just go straight to the new conversation once triggered.

The other option I'm thinking of, is just creating a conversation called Vanora0, which is just a hub that checks variables, and sends you to the appropriate conversation depending on story progress.
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Best Way to Handle Story Progression

Post by Tony Li »

Hi,

I prefer using a hub conversation like you described at the bottom of your post. It keeps the logic in one place (the dialogue database). There's some discussion of hub conversations and other options in: How To: Run a Conversation Only Once
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Re: Best Way to Handle Story Progression

Post by RoguePimptastic »

Perfect, thank you. I think I was overthinking it a bit. Having a hub for each NPC is the way I'm going to go.
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: Best Way to Handle Story Progression

Post by Tony Li »

Sounds good! Glad to help.
Post Reply