Hooks
From BeamNG
These are the hooks used in the game at the moment. We will try to update them and fill in the description piece by piece, but please notice this is still active development.
- $stateChangeSuccess
- AdvancedWheelDebugData
- AIStateChange
- app:resized
- app:resized_forcedInduction
- app:waiting
- appContainer:clear
- appContainer:loadLayout
- appContainer:spawn
- apps:editMode
- AudioDebug
- BananaBenchReady
- BdebugUpdate
- BullettimeValueChanged
- CameraChange
- ChangeState
- ControllersChanged
- CruiseControlState
- DevLog
- dialogFinished
- editApps
- EngineChange
- EnvironmentStateUpdate
- FilteredInputChanged
- forcedInductionChange
- GameStateUpdate
- HardwareInfo
- hide_ui
- imgviewerDisplay'
- imgviewerFinish
- imgviewerImgs
- imgviewerNext
- InputBindingsChanged
- loadDialog
- MenuFocusShow
- MenuHide
- MenuItemListRefresh
- MenuItemNavigation
- MenuOpenModule
- MenuToggle
- Message
- modmanagerError
- ModManagerModsChanged
- ModManagerVehiclesChanged
- NodeStreamPlayPosition
- NodeStreamState
- onLuaPerf
- PerformanceData
- PerformanceInit
- PlayersChanged
- Position
- RaceCheckpointComparison
- RaceLapChange
- RaceStart
- raceTime
- RaceTimeComparison
- RawInputChanged
- requestPhysicsState
- ScenarioChange
- ScenarioFlashMessage
- ScenarioFlashMessageReset
- ScenarioNotRunning
- ScenarioResetTimer
- ScenarioStopSetTimer // just for legacy. test does nothing
- SettingsChanged
- ShowApps
- SteamInfo
- StickyState
- streamsUpdate
- updatePhysicsState
- UpdateProgress
- VehicleChange
- VehicleChangeColor
- VehicleconfigChange
- VehicleconfigSaved
- VehicleFocusChanged
- VehicleReset
- WayPoint
- XInputControllerUpdated