API ReferenceGE ExtensionseditorrallyEditor
Rally Editor – Test Tab
Simple debug/testing tab in the Rally Editor for running test functions and loading/unloading the recce app.
Simple debug/testing tab in the Rally Editor for running test functions and loading/unloading the recce app.
Overview
Minimal class-based tab (C) providing buttons for test actions and recce mission management.
Class Methods
| Method | Signature | Description |
|---|---|---|
init | C:init(rallyEditor) | Stores editor ref. |
setPath | C:setPath(path) | Sets the notebook path. |
selected | C:selected() | Called on tab select. |
unselect | C:unselect() | Called on tab deselect. |
draw | C:draw() | Renders Test 1 button, Load/Unload Recce Mission buttons. |
test1 | C:test1() | Prints random system pacenotes: firstnoteintro, firstnoteoutro, finish. |
drawDebugEntrypoint | C:drawDebugEntrypoint() | No-op debug draw. |
UI Buttons
- Test 1 – Runs
test1()which fetches random system pacenotes - Load Recce Mission – Loads
gameplay_rally_recceAppwith current mission ID/dir and enables debug draw - Unload Recce Mission – Unloads the recce app extension
Usage Example
local testTab = require('/lua/ge/extensions/editor/rallyEditor/testTab')(rallyEditor)
testTab:setPath(notebook)
testTab:draw()Module Variables
windowDescription(string) - Module variable.
Module Variables
windowDescription(string) - Module variable.
See Also
- Rally Editor - Driveline Tab - Related reference
- Rally Editor - Measurements Tab - Related reference
- Rally Editor – Mission Settings Tab - Related reference
- World Editor Guide - Guide