Quest Machine
Use the Pixel Crushers Quest Machine integration when States should create or give quests, inspect and change quest state, update quest UI, or send Quest Machine messages.
Install the integration
- Download the current Quest Machine integration from Opsive Downloads.
- Import
StateDesignerQuestMachine.unitypackage. - Confirm Give Quest appears in the State Palette.
What the integration adds
- Quest generation and state: Generate Quest, Give Quest, Get Quest Count, Get Quest State, Set Quest State, Get Quest Node State, Set Quest Node State, Get Quest Counter Value, Set Quest Counter Value.
- World and UI: Control Spawner, Send To Message System, Set HUD, Set Journal UI, Show Quest Alert, Start Quest Dialogue.
Build a first workflow
- Verify Quest Machine can give and display one quest directly.
- Enter a Give Quest State and run Give Quest.
- Run Get Quest State, Get Quest Node State, or Get Quest Counter Value in an Action State and bind Store Result to an integer Shared Variable. These are Actions, not transition Conditions. Compare the stored variable in a transition Condition.
- Run the getter again whenever the graph needs a fresh value; the stored result is a snapshot, not a subscription to quest changes. Alternatively, implement a project Condition that queries Quest Machine when evaluated.
- Confirm the Quest Journal and graph report the same result.