dreamworkAPI
Ctrl K
GitHub
libraryDocs / menu / options

menu.options

libraryclientmenusource

The game's menu options module.

Functions

menu.options.allowCustomLoadingScreenSets whether the loading URL is enabled.
menu.options.getCloseCaptionsChecks if close captions are enabled.
menu.options.getCrosshairReturns whether the crosshair is enabled.
menu.options.getDrawHUDReturns whether the HUD render (health, ammo, etc) is enabled.
menu.options.getEffectsVolumeGets the effects volume.
menu.options.getFastWeaponSwitchReturns whether the fast weapon switch is enabled.
menu.options.getFullscreenReturns whether the game window is fullscreen.
menu.options.getLanguageReturns the selected game language.
menu.options.getMasterVolumeGets the master volume.
menu.options.getMouseSensitivityReturns client's mouse sensitivity.
menu.options.getMusicVolumeGets the music volume.
menu.options.getMuteVolumeOnLoseFocusGets whether to mute the volume when the game loses focus.
menu.options.getQuickInfoReturns whether the quick info is enabled.
menu.options.getScreenResolutionReturns the width and height of the game's window (in pixels).
menu.options.getSuitVolumeGets the HEV suit volume.
menu.options.getVSyncReturns whether the game is running in VSync mode.
menu.options.isCustomLoadingScreenAllowedReturns whether the loading URL is enabled.
menu.options.openOpens the options dialog.
menu.options.setCloseCaptionsEnables or disables close captions.
menu.options.setCrosshairSets whether the crosshair is enabled.
menu.options.setDrawHUDSets whether the HUD render (health, ammo, etc) is enabled.
menu.options.setEffectsVolumeSets the effects volume.
menu.options.setFastWeaponSwitchSets whether the fast weapon switch is enabled.
menu.options.setFullscreenSets the fullscreen state of the game window.
menu.options.setLanguageSets the selected game language.
menu.options.setMasterVolumeSets the master volume.
menu.options.setMouseSensitivitySets the mouse sensitivity.
menu.options.setMusicVolumeSets the music volume.
menu.options.setMuteVolumeOnLoseFocusSets whether to mute the volume when the game loses focus.
menu.options.setQuickInfoSets whether the quick info is enabled.
menu.options.setScreenResolutionChanges the resolution of the game window.
menu.options.setSuitVolumeSets the HEV suit volume.
menu.options.setVSyncSets whether the game is running in VSync mode.
Generated from the dreamwork meta branch.