Use the Pixel Crushers Quest Machine integration when a behavior tree should create or give quests, inspect and change quest state, update quest UI, or send Quest Machine messages.

Install the integration

  1. Download the current Quest Machine integration from Opsive Downloads.
  2. Import BehaviorDesignerQuestMachine.unitypackage.
  3. Confirm Give Quest appears in the Task List.

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

  1. Verify Quest Machine can give and display one quest without the tree.
  2. Use Give Quest from an interaction or planner branch.
  3. Read Get Quest State or a counter before choosing the next behavior.
  4. Change one node or counter and confirm the Quest Journal displays the same result.