API ReferenceGE Extensionsflowgraphnodescareer
On Poi Prompt Shown (Flowgraph Node)
- **Node Name:** `On Poi Prompt Shown`
Overview
- Node Name:
On Poi Prompt Shown - Category:
repeat_instant - File:
extensions/flowgraph/nodes/career/onMissionPromptShown.lua
Detects when the player stops at a POI and the mission/dealership/garage prompt is shown.
Pin Schema
Output Pins
| Pin | Type | Description |
|---|---|---|
shownPrompt | flow (impulse) | Fires when the POI prompt is shown (includes garage and refueling prompts) |
openedMenu | flow (impulse) | Fires when the missions menu is opened |
Behavior
work()- Resets output pins, applies queued flags, clears flags table.
Event Hooks
| Hook | Output Pin |
|---|---|
onActivityAcceptUpdate | shownPrompt |
onAvailableMissionsSentToUi | openedMenu |
Notes
- Standard flags-based impulse pattern.
shownPromptfires for all POI types (missions, garage, refueling, dealership).
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