Page 1 of 1

Temporarily Require Continue

Posted: Wed Aug 02, 2023 7:49 pm
by Yubaba
Hi Tony,
By default, our dialogue comes up like subtitles, disappearing automatically.
I'm using the OverrideDialogueUI component for the occasional SMS sequence. Works like a charm. I just need that SMS UI to stay up after the convo until a player presses a button (physical, not UI button).
Would it be best to put this in a sequence on the final line of SMS dialogue (considering there's no audio for the AudioWait anyway)? Ideally I'd like to add this through code as my SMS trigger component takes action.

As usual, enormous thanks for all your hard work.

Pete.

Re: Temporarily Require Continue

Posted: Wed Aug 02, 2023 8:55 pm
by Tony Li
Hi,

To set the continue button mode (always or never) for a whole conversation, inspect the conversation in the Dialogue Editor. Select Menu > Conversation Properties to inspect the conversation's properties. Then tick Override Display Settings > Subtitle Settings, and set the Continue Mode dropdown. This will apply only for this conversation.

If you need to change the continue button mode mid-conversation, on the other hand, use the SetContinueMode() sequencer command.

Re: Temporarily Require Continue

Posted: Thu Aug 03, 2023 8:10 pm
by Yubaba
Thank you!!
I'm using Ink, so I don't have the luxury of the Editor 😢, but you got me drilling more into Sequencer commands and I ended up adding this to the final line of the conversation - {Sequence("OnSMSFinalLine()@2; WaitForMessage(CloseSMS)")}

The OnSMSFinalLine() sends a notification to my conversation trigger object to wait for a button press, when that happens it sends Sequencer.Message("CloseSMS")

No continue mode changes needed!

Feel free to advise if you think something could be done better, but I thought I'd post this update for anyone else faced with a similar, incredibly specific case.

Huge thank yous as always,
Pete.

Re: Temporarily Require Continue

Posted: Thu Aug 03, 2023 8:13 pm
by Tony Li
Hi Pete,

That'll work, and it keeps everything in Ink.

Another option is to use an Override Display Settings component on one of the participants.

Re: Temporarily Require Continue

Posted: Sun Aug 06, 2023 6:13 pm
by Yubaba
Oh this is fantastic! Thank you!

Re: Temporarily Require Continue

Posted: Sun Aug 06, 2023 6:31 pm
by Tony Li
Glad to help!