API ReferenceGE Extensionseditor
Tool Shortcuts
Assigns keyboard shortcuts (F1–F9) to editor edit modes, enabling quick tool switching.
Assigns keyboard shortcuts (F1–F9) to editor edit modes, enabling quick tool switching.
Public API
| Function | Signature | Description |
|---|---|---|
M.onEditorInitialized | () | Creates editor.openTool1 through editor.openTool9 functions mapped to sorted edit modes |
Notes
- Object Select is always assigned to position 1
- Create Object is always assigned to position 2
- Remaining edit modes (those with icons) are sorted alphabetically and assigned positions 3–9
- Functions are injected directly onto the
editortable aseditor.openToolN()
See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide
Tool Manager
Centralized module for cross-tool removal of TSStatic meshes placed by spline tools - cleans up mesh and assembly spline objects when the editor is activated.
Traffic Debug
Editor window for inspecting and debugging the traffic AI system - displays per-vehicle traffic state, road data, and action logs.