How do I change the dialog trigger?
-
- Posts: 12
- Joined: Sun Aug 06, 2023 7:43 pm
How do I change the dialog trigger?
I need the dialog to start at the start of the game, and then to be able to continue the dialog using the button. I need to somehow change the On Start trigger to OnUse. How to do it?
Re: How do I change the dialog trigger?
Hi,
Those seem like two separate things.
> I need the dialog to start at the start of the game, and then to be able to continue the dialog using the button.
Inspect the Dialogue Manager GameObject, and set Display Settings > Subtitle Settings > Continue Button to Always.
> I need to somehow change the On Start trigger to OnUse. How to do it?
What's the purpose for doing this? You could either set up two Dialogue System Triggers (one set to OnStart, another to OnUse), or in C# change the trigger, such as:
Those seem like two separate things.
> I need the dialog to start at the start of the game, and then to be able to continue the dialog using the button.
Inspect the Dialogue Manager GameObject, and set Display Settings > Subtitle Settings > Continue Button to Always.
> I need to somehow change the On Start trigger to OnUse. How to do it?
What's the purpose for doing this? You could either set up two Dialogue System Triggers (one set to OnStart, another to OnUse), or in C# change the trigger, such as:
Code: Select all
GetComponent<DialogueSystemTrigger>().trigger = DialogueSystemTriggerEvent.OnUse;