Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-04-19, 11:33 PM   #1
Nightness
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Feb 2009
Posts: 32
Force loading a blizzard addon...

So I want to create a macro to load Guild and Communities dialog; got...
Code:
/script LoadAddOn("Blizzard_Communities")
/script if (CommunitiesFrame:IsShown()) then CommunitiesFrame:Hide() else CommunitiesFrame:Show() end
Works great, one problem the frame's location, it's screen-centered rather than placed normally. I thought there was a global function that does toggle of blizzard frames properly... Any idea what it's called?

Last edited by Nightness : 04-04-19 at 11:41 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Force loading a blizzard addon...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off