Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API SetScreenResolution

Last wiki revision 2022-07-22

Returns the index of the current resolution in effect SetScreenResolution([index])

  • index: - This value specifies the new screen resolution, it must be the index of one of the values yielded by GetScreenResolutions. Passing nil will default this argument to 1, the lowest resolution available

This sets the screen to 1024x768, if available: local resolutions = {GetScreenResolutions} for i,entry in resolutions do if entry == '1024x768' then SetScreenResolution(i) break end end

Source

https://warcraft.wiki.gg/wiki/API_SetScreenResolution · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.