API ReferenceGE Extensionsflowgraphnodesutil
Pop Action Map (Flowgraph Node)
- **Node Name:** `Pop Action Map`
Overview
- Node Name:
Pop Action Map - Category:
once_instant - File:
extensions/flowgraph/nodes/util/popActionMap.lua
Removes an action map from the input stack. Counterpart to the Push Action Map node.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
name | string | Name of the action map to pop |
Internals
Key Methods
| Method | Description |
|---|---|
init(mgr) | Calls _executionStopped() for cleanup |
workOnce() | Calls popActionMap(self.mapName) |
Known Issues
The node's todo field notes: "Weird behaviour if multiple projects use the same action map."
Note: The source references self.mapName in workOnce() but the pin input is self.pinIn.name.value. This appears to be a potential bug - the node may not correctly read the pin value.
How It Works
- When triggered, calls the engine function
popActionMap()with the stored map name. - This removes the action map from the active input stack, restoring the previous input bindings.
Usage Example
-- Remove a custom action map after a minigame ends:
-- [End Minigame] → flow → [Pop Action Map] name="RaceControls"
-- Pair with Push Action Map:
-- [Start] → [Push Action Map] name="CustomBinds"
-- ...gameplay...
-- [End] → [Pop Action Map] name="CustomBinds"Key Dependencies
popActionMap()- engine function to remove an action map from the stack- Paired with
pushActionMap()/ Push Action Map node
See Also
- Route Distance (Flowgraph Node) - Related reference
- Closest Road (Flowgraph Node) - Related reference
- Custom Lua (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide