WoWInterface (
-   Lua/XML Help (
-   -   Is there a different RestartGX() function? (

galvin 08-18-18 05:13 PM

Is there a different RestartGX() function?
I'm trying to make an addon to set the evironment distance based on zone. The one in game does it without freezing up the game. So it can't be RestartGX() function. Must be a different way or restarting the graphics without causing a few seconds of freezing?

Vrul 08-18-18 06:42 PM

It looks like Blizzard is just calling SetCVar. You just need to call (1 <= value <= 10):

SetCVar("graphicsEnvironmentDetail", value)

galvin 08-18-18 07:16 PM

Yeah that did it, thanks

All times are GMT -6. The time now is 01:56 PM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI