API ReferenceGE Extensionseditor
Documentation Helper
Minimal extension that provides `editor.openHelp()` and `editor.openCodingHelp()` to open BeamNG documentation pages in the system web browser.
Minimal extension that provides editor.openHelp() and editor.openCodingHelp() to open BeamNG documentation pages in the system web browser.
Public API
| Function | Signature | Description |
|---|---|---|
M.onEditorInitialized() | Attaches openHelp and openCodingHelp to the editor table |
Editor Functions (attached at init)
| Function | Signature | Description |
|---|---|---|
editor.openHelp(contextPageName) | Opens https://documentation.beamng.com/world_editor/<page>.html | |
editor.openCodingHelp(contextPageName) | Opens https://documentation.beamng.com/world_editor/api_reference/<page>.html |
Usage Example
-- Open the general editor docs
editor.openHelp("index")
-- Open terrain editor page
editor.openHelp("terrain_editor")
-- Open API reference for a specific page
editor.openCodingHelp("scene_tree")Notes
- Uses
openWebBrowser()global to launch the system browser - Falls back to
"index"if nocontextPageNameis provided
See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide
Decal Spline Editor
Spline-based decal placement tool. Creates and manages decal splines that automatically populate decal instances along a path with configurable materials, spacing, jitter, rotation, and multi-componen
Drag Race Editor
Main editor extension for drag racing content. Provides a two-column layout with facilities, strips, and drag settings management. Integrates with the modular `gameplay/drag/saveSystem`.