Start and complete
Get the Quest Component from PlayerState. Category Quest.
| Action | Node |
|---|---|
| Start | StartQuest or StartQuestById |
| Advance an objective | CompleteObjective (Objective Id, Amount default 1) |
| Fail via a fail id | FailObjective |
- When the player accepts the quest, call
StartQuestwith the definition, orStartQuestById. - From kill, overlap, or inventory code, call
CompleteObjectivewith the Objective Id on the asset. - Branch on the return value. True means the call applied.
StartQuest returns false if the definition is missing. It returns false if the quest is already Active or Completed. It returns false if prerequisites are not met.
CompleteObjective increments every matching objective on Active quests in the current phase only.