Hi Tony!
I have a question and the solution seems can not be found by search the forum.
I hope I can cancel the subtitle (skip dialogue) via the continue button as input the key.
now when I click the continue button it would finish the dialogue first, I have to click again to make it skip.
is there a way to allows me to skip the dialogue with one click?
I have checked the function, there is only Onfastforward is work. I really need it please help me...
How can I cancel subtitle (Skip dialogue) via continue button as input key?
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Hi,
Inspect the continue button's Button component. Remove the StandardUIContinueButtonFastForward.OnFastForward handler from the OnClick() event. the OnClick() event should now be empty.
Inspect the continue button's Button component. Remove the StandardUIContinueButtonFastForward.OnFastForward handler from the OnClick() event. the OnClick() event should now be empty.
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Cool! it works! thank you Tony!
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Sorry... there is a new question pop up...
is there a setting to allows me to delay the cancellation a little bit? after I click the continue button?
now the continue button is close immediately so my playmaker FSM is no chance to run...
or, is there has any script like dialogue system event and it can allow me to send an event when I cancel the subtitle(Skip dialogue)?
is there a setting to allows me to delay the cancellation a little bit? after I click the continue button?
now the continue button is close immediately so my playmaker FSM is no chance to run...
or, is there has any script like dialogue system event and it can allow me to send an event when I cancel the subtitle(Skip dialogue)?
Last edited by muramasa on Sun Nov 15, 2020 3:01 pm, edited 1 time in total.
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Hi,
Instead of leaving the OnClick() event empty, you can assign your own script method or FSM call. After a delay, call DialogueManager.conversationView.OnConversationContinueAll(). For example, hook up OnClick() to a method like this:
Instead of leaving the OnClick() event empty, you can assign your own script method or FSM call. After a delay, call DialogueManager.conversationView.OnConversationContinueAll(). For example, hook up OnClick() to a method like this:
Code: Select all
void ContinueAfterOneSecond() // Assign this to OnClick().
{
Invoke("ContinueNow", 1);
}
void ContinueNow()
{
DialogueManager.conversationView.OnConversationContinueAll();
}
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Oops the function I need already exists on the Dialogue system events call "On Conversation Line End"
Sorry for waste your time. :p
thank you very much!
Sorry for waste your time. :p
thank you very much!
Re: How can I cancel subtitle (Skip dialogue) via continue button as input key?
Hi,
No problem! Glad you found it.
No problem! Glad you found it.