Page 1 of 1

Setting Active Quest Nodes to Inactive

Posted: Fri Mar 07, 2025 3:16 pm
by ds2497
Hi there,

I was wondering if Quest Machine has a feature to set all currently active nodes to inactive.

Scenario:
I have a quest flow that looks like this:
1. Help Mary build a house
2. Help Mary farm
...
N. Help Mary pick flowers

During the quest, if Mary dies (sorry, this example is a bit sad), the quest should activate the "Bury Mary" node and hide all quest hints that are related to helping Mary.

I know I can manually use SetQuestNodeState to set each node to inactive, but doing so for multiple nodes would be tedious. Is there a better way to handle this?

Thanks!

Re: Setting Active Quest Nodes to Inactive

Posted: Fri Mar 07, 2025 7:25 pm
by Tony Li
That is a great idea! That action doesn't exist yet, but I'll try to sneak it into QM version 2.2.51. If not, I'll provide a patch after 2.2.51 comes out next week.