menu
The game's main menu library.
Modules
library
menu.loading
The game's menu loading ( connecting to the server ) module.
library
menu.options
The game's menu options module.
Fields
| Name | Type | Description |
|---|---|---|
visible | boolean | true if the menu is visible, false otherwise. |
Functions
menu.close | Closes the menu and returns to the game. |
menu.open | |
menu.openGameLoadDialog | Opens the Source "Load Game" dialog. |
menu.openGameSaveDialog | Opens the Source "Save Game" dialog. |
menu.openPlayerList | Opens the "Mute Players" dialog that shows all players connected to the server and allows to mute them. |
menu.openServerBrowser | Opens the legacy server browser. |
menu.openURL | |
menu.quit | Quits the game. |
menu.reloadAddons | Reloads all local addons. |
menu.run | Runs a menu command. |