How to set Quest Entry State with Behavior Designer?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
christianwiele
Posts: 29
Joined: Sat Mar 27, 2021 7:34 am

How to set Quest Entry State with Behavior Designer?

Post by christianwiele »

Hi,

I try to set a quest entry state with BD. I use the "Set Quest Entry State" task from the integration, but the state does not change. I also don't get an error message. I am also a little confused, as there are 2 parameters, quest entry name, and quest entry number. I would have expected the quest name plus the entry number!?
So, what do I have to enter for the parameters?

Thanks, Christian
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to set Quest Entry State with Behavior Designer?

Post by Tony Li »

Hi,

A quest can have zero or more quest entries.

In the Dialogue System, you can set the quest's main state and the individual states of any entries you've added to the quest.

When you change a quest state or quest entry state, the change will not appear in the Quests/Items section of the Dialogue Editor window. You can view the runtime values of quest states in the Watches tab, or in your quest log window while you're playing.

If that doesn't help, please let me know if any errors or warnings appear in the Console window when your behavior tree gets to the Set Quest Entry State task.
christianwiele
Posts: 29
Joined: Sat Mar 27, 2021 7:34 am

Re: How to set Quest Entry State with Behavior Designer?

Post by christianwiele »

I found the issue. There's a bug in the SetQuestEntryState action of the BD integration. In line 33 it has to be QuestLog.SetQuestEntryState instead of QuestLog.SetQuestEntry.
User avatar
Tony Li
Posts: 21977
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to set Quest Entry State with Behavior Designer?

Post by Tony Li »

Sorry about that. I'll ask Opsive to update the integration.
Post Reply