How do I get QuestID in my own scripts

Announcements, support questions, and discussion for Quest Machine.
Post Reply
redmondurbino
Posts: 1
Joined: Fri May 22, 2020 6:42 pm

How do I get QuestID in my own scripts

Post by redmondurbino »

Currently, I am sending a message as one of the Actions in a quest node. I put in
Sender:Any
Target:Any
Message:ShowChooseRewardPanel
Parameter: questId
Value: String
FixChair_1

In the example above FixChair_1 is the id of the quest, and I manually typed FixChair_1. I was looking for a tag like {QUESTID} similar to {QUESTGIVERID}. Unfortunately there isn't any.

The plan is to create a template quest and then duplicate and customize that over and over. However, I can see in the future the designer forgetting to change that manually typed value in the newly created quests.

If there's a better way to get questId in my own scripts, can you please tell me how?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How do I get QuestID in my own scripts

Post by Tony Li »

{QUESTID} isn't currently a tag, but I'll add it to the next update.
Post Reply