Changing the Continue Buttons Text and using it to confirm a response

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AJWantsToSleep
Posts: 18
Joined: Wed Jun 19, 2024 2:44 pm

Changing the Continue Buttons Text and using it to confirm a response

Post by AJWantsToSleep »

Good evening!

I have two things I wanna ask:

1. I want the Continue Button to change it's Text depending on the situation
-> Continue for the normal NPC dialogue
-> Confirm when I can select a response
-> Finish when it's the last dialogue

2. I want to use the Continue Button to confirm the response I have chosen

Thank you! :D
AJWantsToSleep
Posts: 18
Joined: Wed Jun 19, 2024 2:44 pm

Re: Changing the Continue Buttons Text and using it to confirm a response

Post by AJWantsToSleep »

Hey Tony, thank you so much for your help.
Your first answer worked woderfully :D
Still trying to figure out the second one since I wanted to use the continue button for it, but it's a bit tricky.

But again, thank you so much for your help!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing the Continue Buttons Text and using it to confirm a response

Post by Tony Li »

Since the continue button serves a different purpose, I recommend making your "Confirm" button look exactly like your continue button so they appear to be the same button to the player. You can get rid of the "Cancel" button and update the script accordingly if you want.
Post Reply