Setting Active Quest Nodes to Inactive
Posted: Fri Mar 07, 2025 3:16 pm
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!
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!