Is there a quick way to force a conversation to start?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Is there a quick way to force a conversation to start?

Post by AoF »

During testing, sometimes it would be convenient to just force a conversation to start, especially if triggering that conversation requires setting 3 watches to the correct value. Is there a way to force one to trigger?

If not, I could just build a editor mode-only button that triggers one, but I'm wondering if there's an even easier way.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is there a quick way to force a conversation to start?

Post by Tony Li »

You can add a Dialogue System Trigger to the scene. For example, create a GameObject named "Testing" as a child of the Dialogue Manager, and add the Dialogue System Trigger to it. Set its trigger dropdown to OnEnable. Add a Start Conversation action. Then disable the Dialogue System Trigger.

During play, whenever you want to start the conversation just enable the Dialogue System Trigger. You can even change the conversation dropdown beforehand if you want to test a different conversation.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Is there a quick way to force a conversation to start?

Post by AoF »

Sounds good, thanks.
Post Reply