API ReferenceGE Extensionsflowgraphnodescareer
Complete Quest (Flowgraph Node)
- **Node Name:** `Complete Quest`
Overview
- Node Name:
Complete Quest - Category:
once_instant - File:
extensions/flowgraph/nodes/career/completeQuest.lua
Completes the quest that the flowgraph is associated with.
Pin Schema
Input Pins
| Pin | Type | Default | Description |
|---|---|---|---|
completeOnStop | bool | true | (Hardcoded) If true, only completes the quest once the manager is stopping (delayed by one frame) |
Behavior
workOnce()- If career is active, quest manager is loaded, and the flowgraph manager has an associated quest (self.mgr.quest), callscareer_modules_questManager.completeQuest(questId).
Key Dependencies
career_career.isActive()- checks if career mode is runningcareer_modules_questManager.completeQuest()- marks quest as completeself.mgr.quest- the quest associated with this flowgraph manager
See Also
- Add To Inventory (Flowgraph Node) - Related reference
- Career Vehicle Select (Flowgraph Node) - Related reference
- Set Tutorial Step (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide