API ReferenceveextensionsgameplayInterfaceModules
Interact Beamstate
Gameplay interface module for querying and modifying the vehicle's structural state. Provides actions for damage application, part breakage, and beam integrity checks.
Gameplay interface module for querying and modifying the vehicle's structural state. Provides actions for damage application, part breakage, and beam integrity checks from the Game Engine layer.
Public API
| Variable | Type | Description |
|---|---|---|
moduleActions | table | Map of action names to handlers for structural modifications (damage, break, repair). |
moduleLookups | table | Map of lookup names to getters for querying beam/node state. |
Usage Example
-- Query vehicle damage state from GE
-- obj:queueGameEngineLua("extensions.gameplayInterface.lookup('getBeamstateData')")See Also
- Gameplay Interface — Parent bridge module
- Interact Part Condition — Individual part wear management
Interact AI
Gameplay interface module for controlling vehicle AI behavior. Provides actions and lookups for AI mode, speed, waypoints, and pathfinding from the Game Engine layer.
Interact Cargo Containers
Gameplay interface module for managing cargo container attachments. Handles loading, unloading, and querying container state on flatbed and utility vehicles.