Page 1 of 1

Any way to quickly put every node of a quest to True?

Posted: Mon Oct 25, 2021 4:52 am
by maxvsthegames
Hi!
I'm creating some debugs to help me test my game and I was looking for a way to quickly put all nodes of a quest to True.

Basically, my plan is to press a certain button to skip to a certain area of the game (to simulate that I've played the game until that point), but I would also need all of the Main Quests up to that point to be completed (since many dialogues condition are depending on the state of the main quests).

I know I can set the entire quest to success with SetQuestState, but most of my dialogue condition are looking at specific Node States and those are not updated when I use SetQuestState to "success".

I was wondering if there was a quicker way than to basically use SetQuestNodeState for every state of every quest I need to update for this debug.

Thanks.

Re: Any way to quickly put every node of a quest to True?

Posted: Mon Oct 25, 2021 8:31 am
by Tony Li
Hi,

No, there isn't. But I can add that to a list of features to add.

The main reason it isn't in there right now is because quests can branch. For example, you could have a quest to defeat an NPC in battle or befriend him. In this case, you wouldn't want to set the Defeat node and the Befriend node both true.

Re: Any way to quickly put every node of a quest to True?

Posted: Mon Oct 25, 2021 10:51 am
by maxvsthegames
Yeah, that makes sense.

Alright, I'll do it manually then!
Thanks!