Create the menu and options wrappers
Each row below is a separate ordinary GDScript record. Global Script is off. Use the template once per row, replacing the three arguments to CallScript with the values in the table.
extends "res://scripts/runtime/script_base.gd"func run(_context: Dictionary = {}) -> Variant:
await CallScript("options_tools", "open", ["pauseMenu"])
return true| Record ID | Controller / function / arguments |
|---|---|
| open_pause_options | options_tools / open / ["pauseMenu"] |
| open_main_options | options_tools / open / ["mainMenu"] |
| options_apply | options_tools / apply / [] |
| options_defaults | options_tools / defaults / [] |
| options_back | options_tools / back / [] |
| open_main_load | menu_tools / open / ["loadMenu", "mainMenu"] |
| open_pause_load | menu_tools / open / ["loadMenu", "pauseMenu"] |
| open_pause_save | menu_tools / open / ["saveMenu", "pauseMenu"] |
| menu_back | menu_tools / back / [] |
The complete template shown is open_pause_options. Keep quotes around string IDs and square brackets around the arguments array.
