View Single Post
06-14-10, 01:31 PM   #26
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,938
Originally Posted by Grimsin View Post
how would i make the GUIPartyFrame vis everywhere? because im trying to use those functions inside of another function...
Apart from Chimaine's suggestion .. the route I use allows it to work across the whole addon.


local addonName, addonData = ...

addonData.GUIPartyFrame = CreateFrame(...)
etc


Then all files in the TOC after this file with that first line added at the top of each file will have access to that variable.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote