Is it possible to keep a panel open after a conversation has ended?
I've got a "doctor" minigame where a patient approaches and says what's wrong. I'd like the panel to remain on screen until the treatment is complete, but that takes a while and I want the player to be able to reference the text. It'll only ever be a single dialgoue cell.
Should I be using the sequencer to wait for a message or is there a better way to do this? Ideally the panel would remain open the entire time the scene is loaded.
Keep panel open after conversation
Re: Keep panel open after conversation
If it's a one-off, consider leaving the conversation active by using a WaitForMessage() sequencer command on the last node. Example:
Alternatively, you can set up a custom dialogue UI for the scene that always stays open. Don't assign the Main Panel to the Standard Dialogue UI. Use an Override Dialogue UI component to tell the conversation to use this dialogue UI.
- Sequence: WaitForMessage(TreatmentComplete)
Code: Select all
Sequencer.Message("TreatmentComplete");
-
- Posts: 222
- Joined: Wed Jan 22, 2020 10:48 pm
Re: Keep panel open after conversation
OK great thanks! I didn't know about the second option. It is sort of a one off situation so I'll just try using the WaitForMessage/Sequencer combo.
Thanks!
Thanks!
Re: Keep panel open after conversation
Glad to help!