Quantcast LoTROInterface - View Single Post - Help affecting other windows
View Single Post
  #3  
Unread 09-27-2010, 06:34 AM
SanDBoX's Avatar
SanDBoX SanDBoX is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Idaho
Posts: 40
What I ended up doing to solve this problem (or one similar) is in my "main" file declared my windows as having a global scope then was able to access them using that instance name directly. I only had to pull it off once or twice to get things to work, but it seemed to work just fine.

Basically like this:

In your main program file ( the one that the .plugin calls ) you initialize you window -
ajustedwindow = mywindowlayout()

Then any other windows can call it from-
ajustedwindow:SetOpacity( mycalculatedvalue )

It seemed to work just fine for me.
Reply With Quote