Navigation Mesh Editor
Editor extension providing a **Navigation Mesh** editor window and edit mode. Currently a minimal scaffold with a "Hello world" placeholder.
Editor extension providing a Navigation Mesh editor window and edit mode. Currently a minimal scaffold with a "Hello world" placeholder.
Overview
Registers an editor window and edit mode for navigation mesh editing. The implementation is a stub - the window displays "Hello world!" and the edit mode has no custom update logic. Intended as a framework for future navmesh tooling.
Module Interface (M)
| Function | Description |
|---|---|
M.onEditorInitialized() | Registers window (400×400), edit mode, and menu item under "Gameplay". |
M.onEditorGui() | Draws the window with placeholder text. |
M.show() | Clears selection, shows window, activates navmesh edit mode. |
M.allowGizmo() | Returns true when navmesh edit mode is active. |
M.onEditorToolWindowHide(name) | Reverts to object-select mode when window is hidden. |
M.onEditorToolWindowGotFocus(name) | Activates navmesh edit mode when window gains focus. |
Edit Mode
| Property | Value |
|---|---|
| Display Name | "Navigation Mesh" |
| Update | nop (no operation) |
| Activate | Empty function |
| Deactivate | Empty function |
| LMB Shortcut | "Select" |
Window Behavior
- Automatically activates navmesh edit mode when focused
- Reverts to
objectSelectmode when hidden - Accessible via menu: Gameplay → Navigation Mesh
Usage Example
-- Open the navmesh editor
editor_navMeshEditor.show()
-- Check if gizmo is allowed
local canGizmo = editor_navMeshEditor.allowGizmo()Additional Exports
M.onExtensionLoaded
See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide
Multi Spawn Manager (Vehicle Groups)
Editor extension for creating, editing, saving, loading, and spawning **vehicle groups**. Supports both hand-picked ("custom") and auto-generated ("generator") groups.
Editor News Message
Displays a one-time news/release-notes modal dialog when the World Editor opens after a new version.