Hi!
I just started using Textline and DialogueSystem recently and I'm running into an issue. I'm trying to let someone continue conversations with a character if they hit certain criteria (like getting 5 coins or something) but don't know how to stop and resume conversations in the framework of the Textline system.
I don't know how to resume a conversation that's waiting on WaitForMessage(Forever) if there's more content afterwards (like in the Barbara or Charlie example) and didn't know how to block until some condition was hit. I tried to add a blocking condition in the Sequence() but it caused the whole game screen to go blank and you can't see the dialogue box at all.
Alternatively, Is there a way to jump to a certain point in a Conversation? Say jumping to line 4 of the Barbara dialogue?
Also, none of the conversation progress gets stored currently between plays and I didn't know if I needed to add a save helper or some state to the Textline demo that isn't currently there yet.
Any insights would be appreciated. Thanks!
J
How to resume stopped conversation in Textline?
Re: How to resume stopped conversation in Textline?
Hi,
I recommend looking at the Lobby example. It doesn't use WaitForMessage(Forever). Instead, if the player hits the end, it loops back to a previous node. But you could change it so it checks a condition and either loops back or goes to a new branch if something has changed since the last time the conversation played.
I recommend looking at the Lobby example. It doesn't use WaitForMessage(Forever). Instead, if the player hits the end, it loops back to a previous node. But you could change it so it checks a condition and either loops back or goes to a new branch if something has changed since the last time the conversation played.
Re: How to resume stopped conversation in Textline?
Thanks Tony! I am looking at the Lobby example and in the following image I saw that Charlie's conversation has a WaitForMessage(Forever) that prevents the conversation from going to the next exchange ("Hey" -> "this number is blocked"). Is there a way to advance the conversation past the WaitForMessage on "Okay, cool" to the "Hey" or would I have to add a conditional branch to go there? A screenshot is attached!
Re: How to resume stopped conversation in Textline?
Hi,
Once it gets to a WaitForMessage(Forever) node, it's hard to get it to continue.
Instead, take a look at Adam's or Barbara's conversations. They can continue forever, although once you get to the end they just loop a basic "hello<-->goodbye". You could do the same except add another branch so that "hello" links to either "goodbye" or (if a condition is true) a new branch.
Once it gets to a WaitForMessage(Forever) node, it's hard to get it to continue.
Instead, take a look at Adam's or Barbara's conversations. They can continue forever, although once you get to the end they just loop a basic "hello<-->goodbye". You could do the same except add another branch so that "hello" links to either "goodbye" or (if a condition is true) a new branch.