API ReferenceGE Extensionstech
`adasUltrasonic.lua`
> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.
This Source Code Form is subject to the terms of the bCDDL, v. 1.1. If a copy of the bCDDL was not distributed with this file, You can obtain one at http://beamng.com/bCDDL-1.1.txt
Module variable: M
Dependencies
util←editor/tech/sensorConfiguration/utilities
Hooks
onExtensionLoadedonUpdateonExtensionUnloaded
Exported Functions
M.onExtensionLoaded()
Line 168
Returns: M
M.onUpdate(dtReal, dtSim, dtRaw)
Line 96
Public interface
M.onExtensionUnloaded()
Line 149
Returns: M
M.load(vehid, args)
Line 119
M.unload()
Line 149
Returns: M
M.runUpdate(type)
Line 21
M.receivePOI(data)
Line 115
Internal Functions
Show internal functions
runUpdate(type)(line 21)setupSensors()(line 63)onUpdate(dtReal, dtSim, dtRaw)(line 96)receivePOI(data)(line 115)load(vehid, args)(line 119)unload()(line 149)
Statistics - Scenario Stats Tracking & Scoring
Comprehensive statistics system for scenarios. Tracks distance, altitude, speed, damage, time, and custom goals per vehicle. Calculates points, medals, and manages stat persistence for the end-of-race
`cameraPreview.lua`
> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.