Dialogue System and Shops

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
YeeHonk
Posts: 6
Joined: Sat May 22, 2021 2:40 pm

Dialogue System and Shops

Post by YeeHonk »

I'm looking for advice on how to link the Dialogue System with in-game shops. For example, you walk up to a merchant and talk to them, they say their generic dialogue, and then it opens the shop menu to buy or sale. Is there a way I could trigger the shop menu inside or at the end of the conversation?
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System and Shops

Post by Tony Li »

Hi,

Sure! Are you using an off-the-shelf shop system from the Asset Store or one you've developed yourself?

If it's from the Asset Store, check for an integration. For example, the Dialogue System's Ultimate Inventory System integration provides an OpenShop() sequencer command that you can use in the Sequence field of the last node of your conversation.

Otherwise you can write a custom sequencer command or use something like the SendMessage() sequencer command or a scene event to invoke a method on your shop.
YeeHonk
Posts: 6
Joined: Sat May 22, 2021 2:40 pm

Re: Dialogue System and Shops

Post by YeeHonk »

Thank you for getting back to me. Yes, it's a custom-made system. I think I'll try the scene event!
Post Reply