Page 1 of 1

How to set Quest Entry State with Behavior Designer?

Posted: Fri Apr 22, 2022 6:16 am
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

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

Posted: Fri Apr 22, 2022 7:20 am
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.

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

Posted: Fri Apr 22, 2022 7:45 am
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.

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

Posted: Fri Apr 22, 2022 9:31 am
by Tony Li
Sorry about that. I'll ask Opsive to update the integration.