Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread 10-19-11, 07:23 AM   #4
Myrroddin
Endless Captain
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 50
I would replace local function init() with a do/end. But that's only if you need something like that; I ask because everything you have in init() can be put in the main chunk, right after creating the context and frame.

Further, and you probably have already thought of this, but you want an if/then statement checking the window's visibility. If false, show it, if true, hide it. Put that check in your slash command function.
Myrroddin is offline   Reply With Quote
 

Go BackRiftui » Developer Discussions » General Authoring Discussion » Riftwindow problem


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