Is there a way to do something like the Continue(); Sequence but called from a script function?
Thanks
Simulate pressing Continue button in script.
Re: Simulate pressing Continue button in script.
How would I do this in script?
SetContinueMode(false);
-------
I tried searching it in the documentation but it said no results. I'm not sure how to use the documentation, to be honest. Is there a section with a bunch of examples?
For example, even when I look up OnContinue(), I don't see anything that indicates (DialogueManager.dialogueUI as StandardDialogueUI).OnContinue() is how I would access it via script.
I can't find SetContinueMode in the documentation either.
I always feel dumb when I'm looking in documentation (any documentation), is there some secret to it?
Thanks for any help
SetContinueMode(false);
-------
I tried searching it in the documentation but it said no results. I'm not sure how to use the documentation, to be honest. Is there a section with a bunch of examples?
For example, even when I look up OnContinue(), I don't see anything that indicates (DialogueManager.dialogueUI as StandardDialogueUI).OnContinue() is how I would access it via script.
I can't find SetContinueMode in the documentation either.
I always feel dumb when I'm looking in documentation (any documentation), is there some secret to it?
Thanks for any help
Re: Simulate pressing Continue button in script.
Hi,
You can use this C# code to do the same thing as the SetContinueMode(false) sequencer command:
Code documentation is difficult because there's always a balance between providing enough information and too much information that it becomes hard to search because there's just so much to search through.
If you can't find something quickly in the online manual, search this forum for "howto" (all one word) plus your question. I try to put the word "howto" in the subject lines of all how-to articles here for easier searching.
You can use this C# code to do the same thing as the SetContinueMode(false) sequencer command:
Code: Select all
DialogueManager.displaySettings.subtitleSettings.continueButton = DisplaySettings.SubtitleSettings.ContinueButtonMode.Never;
if (DialogueManager.conversationView != null) DialogueManager.conversationView.SetupContinueButton();
Code documentation is difficult because there's always a balance between providing enough information and too much information that it becomes hard to search because there's just so much to search through.
If you can't find something quickly in the online manual, search this forum for "howto" (all one word) plus your question. I try to put the word "howto" in the subject lines of all how-to articles here for easier searching.
Re: Simulate pressing Continue button in script.
This worked like a charm, thank you
Re: Simulate pressing Continue button in script.
Happy to help!