WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   cvar error (https://www.wowinterface.com/forums/showthread.php?t=52874)

kawe 11-13-15 10:31 AM

cvar error
 
Quote:

Message: Interface\AddOns\!okScripts\cvars.lua:26: "flaggedTutorials" is read-only
Time: 11/13/15 17:23:50
Count: 1
Stack: [C]: in function `SetCVar'
Interface\AddOns\!okScripts\cvars.lua:26: in function <Interface\AddOns\!okScripts\cvars.lua:3>

Locals: (*temporary) = "flaggedTutorials"
(*temporary) = 0
Code:

SetCVar("flaggedTutorials", 0)
SetCVar("showTutorials", 0)

so after resetting my wow settings and editting my small script with cvars, i get this error. these tutorials and popups from garrisson etc are extremely annoying and i want to disable permanently on all my toons.
anyone knows whats best to use or do i need an addon just for this?

Resike 11-13-15 01:17 PM

I'm pretty sure that you can disable the tutorials in the interface menu. I'm not sure if thats also gonna cover the garrison tutorials or not tho.

semlar 11-13-15 03:30 PM

The "flaggedTutorials" cvar is read-only because it stores which tutorials have been flagged, it's not a setting for you to toggle.

kawe 11-13-15 04:09 PM

Quote:

Originally Posted by Leatrix (Post 311754)
In addition to the tutorials checkbox in the help menu of the game options panel, you can modify closedInfoFrames like this:
Code:

SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_WORLD_MAP_FRAME, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_CLEAN_UP_BAGS, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_BAG_SETTINGS, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_GARRISON_ZONE_ABILITY, true)
SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_GARRISON_LANDING, true)
SetCVarBitfield("closedInfoFrames", SpellBookFrame_GetTutorialEnum(), true)

Set to true to flag the tutorial as already seen, set to false and the tutorial will show the next time you open the relevant frame.

thx allot, that's what i was looking for :)

kawe 11-13-15 04:11 PM

Quote:

Originally Posted by semlar (Post 311756)
The "flaggedTutorials" cvar is read-only because it stores which tutorials have been flagged, it's not a setting for you to toggle.

yes, i figured that out, it's been written into config.wtf but its coded. i just wanted an alternative.


All times are GMT -6. The time now is 12:09 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI