menu.options
The game's menu options module.
Functions
menu.options.allowCustomLoadingScreen | Sets whether the loading URL is enabled. |
menu.options.getCloseCaptions | Checks if close captions are enabled. |
menu.options.getCrosshair | Returns whether the crosshair is enabled. |
menu.options.getDrawHUD | Returns whether the HUD render (health, ammo, etc) is enabled. |
menu.options.getEffectsVolume | Gets the effects volume. |
menu.options.getFastWeaponSwitch | Returns whether the fast weapon switch is enabled. |
menu.options.getFullscreen | Returns whether the game window is fullscreen. |
menu.options.getLanguage | Returns the selected game language. |
menu.options.getMasterVolume | Gets the master volume. |
menu.options.getMouseSensitivity | Returns client's mouse sensitivity. |
menu.options.getMusicVolume | Gets the music volume. |
menu.options.getMuteVolumeOnLoseFocus | Gets whether to mute the volume when the game loses focus. |
menu.options.getQuickInfo | Returns whether the quick info is enabled. |
menu.options.getScreenResolution | Returns the width and height of the game's window (in pixels). |
menu.options.getSuitVolume | Gets the HEV suit volume. |
menu.options.getVSync | Returns whether the game is running in VSync mode. |
menu.options.isCustomLoadingScreenAllowed | Returns whether the loading URL is enabled. |
menu.options.open | Opens the options dialog. |
menu.options.setCloseCaptions | Enables or disables close captions. |
menu.options.setCrosshair | Sets whether the crosshair is enabled. |
menu.options.setDrawHUD | Sets whether the HUD render (health, ammo, etc) is enabled. |
menu.options.setEffectsVolume | Sets the effects volume. |
menu.options.setFastWeaponSwitch | Sets whether the fast weapon switch is enabled. |
menu.options.setFullscreen | Sets the fullscreen state of the game window. |
menu.options.setLanguage | Sets the selected game language. |
menu.options.setMasterVolume | Sets the master volume. |
menu.options.setMouseSensitivity | Sets the mouse sensitivity. |
menu.options.setMusicVolume | Sets the music volume. |
menu.options.setMuteVolumeOnLoseFocus | Sets whether to mute the volume when the game loses focus. |
menu.options.setQuickInfo | Sets whether the quick info is enabled. |
menu.options.setScreenResolution | Changes the resolution of the game window. |
menu.options.setSuitVolume | Sets the HEV suit volume. |
menu.options.setVSync | Sets whether the game is running in VSync mode. |