API ReferenceGE Extensionsflowgraphnodesgameplay
Toggle Walking
**File:** `flowgraph/nodes/gameplay/toggleWalking.lua`
File: flowgraph/nodes/gameplay/toggleWalking.lua
Description: Enters or exits the walking mode.
Category: repeat_instant Dependencies: gameplay_walk
Input Pins
| Name | Type | Description |
|---|---|---|
enterWalking | flow | Attempts to enter walking mode. No effect if the player is already walking, cannot leave the vehicle or other reasons that would prevent the player from entering walking mode. |
exitWalking | flow | Attempts to exit walking mode by entering the closest vehicle. No Effect if there is not stationary vehicle, or the player can't enter a vehicle for other reasons. |
pos | vec3 | The position when entering walking mode. Optional. |
rot | quat | The rotation when entering walking mode. Optional. |
Output Pins
| Name | Type | Description |
|---|---|---|
success | flow | Outflow if the player successfully entered or exited the vehicle. |
fail | flow | Outflow if the player could not enter or exit the vehicle for any reason. |
Methods
C:work(args)
See Also
- Allow Walking - Related reference
- Blacklist Walking - Related reference
- Can Enter From Walking - Related reference
- FlowGraph Guide - Guide