How can I assign a quest without a dialog?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
dcalderwood
Posts: 8
Joined: Sun Apr 17, 2022 1:25 pm

How can I assign a quest without a dialog?

Post by dcalderwood »

I am creating a "Notice Board" type of game object that when the player visits it there will be ~3-6 optional quests that the player can choose from. Each "Notice" on the board will have an Accept button that needs to give the quest to the player. How do I give the player the quest from this board on the button click for the quest?

The Quest Object on the board has the Quest Giver script with the corresponding quest in the Quests list. And I made sure that this quest is in the quest database. I don't want to start a dialog with the player on each one of these. This is just a "look at these 5 quests available and take whichever ones you want" type of system.

Quest Machine Version: 1.2.26
Attachments
NoticeBoard.PNG
NoticeBoard.PNG (31.7 KiB) Viewed 637 times
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: How can I assign a quest without a dialog?

Post by Tony Li »

Hi,

You can still use a dialogue UI. If you do so, you'll probably want to assign a separate, reskinned quest dialogue UI to the notice board's Quest Giver component.

Alternatively, you can assign a quest from a C# script (see How To: Start Quest From Script) or from the equivalent visual scripting system (e.g., PlayMaker), or from a Dialogue System conversation if you're using the Dialogue System.
Post Reply