Hello! I am developing turned based combat for my game and am finally getting around to explaining the tutorial through the dialogue system. How would I go about making dialogue pop up when players do something specific.
Like clicking the attack button or when a meter fills up have dialogue pop up that explains how to use it. It could even be timed dialogue like X amount of time into combat it starts to explain if that is easier, but I would prefer the former.
How to trigger dialogue when X happens?
Re: How to trigger dialogue when X happens?
Hi,
Since those are gameplay events that happen outside the Dialogue System, when the events happen your code/systems can trigger conversations from outside the Dialogue System using a C# method (DialogueManager.StartConversation()) or by setting up a Dialogue System Trigger component and calling its OnUse() method.
Since those are gameplay events that happen outside the Dialogue System, when the events happen your code/systems can trigger conversations from outside the Dialogue System using a C# method (DialogueManager.StartConversation()) or by setting up a Dialogue System Trigger component and calling its OnUse() method.