View Single Post
10-13-12, 05:10 AM   #3
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
Originally Posted by Phanx View Post
Assuming you have already set up the global profile, this should work:

Code:
/run SexyMap2DB[UnitName("player").."-"..GetRealmName()] = "global"; ReloadUI()
Though I have no idea why SexyMap is butchering the profile system that way instead of working like every other addon.

Alternatively, you could just use Reflux's "emulate profiles" feature to save the whole SexyMap2DB saved variables table. You'd probably still need to reload the UI afterwards, though, since SexyMap doesn't appear to have any code to support switching profiles on the fly.

Another option you might want to consider would be to use another minimap addon.
Fantastic it worked! So happy that I can finally use SexyMap again. I just used the code in the setup addon and it works fine which is what I wanted. Thank you so much Phanx!
  Reply With Quote