Quantcast WoWInterface - View Single Post - Help with simple addon - enforcing cvars
View Single Post
02-19-18, 09:36 AM   #26
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by X33STORM View Post
I was thinking i might need to add some PLAYER_LOGIN stuff too?
My personal UI setup addon sets CVars only on PLAYER_LOGIN, does not register or unregister events on any other frames, and does not name any dependencies, optional or otherwise. This has worked for years and years, including when I had AdvancedInterfaceOptions installed, though I never used the "enforce" option Semlar mentioned earlier in this thread.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote