Wikia

WoWWiki

API GetCurrentResolution

Talk0
98,473pages on
this wiki
Revision as of 15:39, November 30, 2008 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the index of the current resolution in effect

index = GetCurrentResolution()

Takes

Nothing

Returns

Number index
This value will be the index of one of the values yielded by GetScreenResolutions()

Example

message('The current screen resolution is ' .. ({GetScreenResolutions()})[GetCurrentResolution()])

Output:

The current screen resolution is 1024x768
Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki