Dependent Tasks
What it does
A dependent task is a prerequisite. The task that depends on it cannot move into Active or Completed until its prerequisite task is Completed.
When to use it
Use dependencies for ordered progress:
- Complete
Find KeybeforeOpen Vault. - Finish an introduction before starting a race.
- Complete several objectives before revealing a finale.
Do not use a dependency just to make two effects happen at the same time. Put those effects on the same task state instead.
Setup
- Create and test the prerequisite task first.
- Create the task that should remain locked, for example
Open Vault. - In the locked task's settings, add the prerequisite as a dependent task.
- Configure the normal trigger for
Open Vault, usuallyNot Active → ActiveorNot Active → Completed. - Test the locked task before and after completing the prerequisite.
Example: key before door
- Create
Find Keyand move it to Completed when the key is collected. - Create
Open Vaultand addFind Keyas its dependency. - On the vault door, use Click to try
Not Active → ActiveforOpen Vault. - The click does not advance
Open VaultuntilFind Keyis completed; after that, the same click can open the door.
Test and troubleshoot
- If a task will not advance, check whether a prerequisite is still Not Active or Active.
- Make sure the prerequisite and dependent task use the intended scope. A personal prerequisite combined with a shared result may be confusing for players.
- In Node View, dependency links run from the prerequisite into the task it unlocks.
