View Single Post
  #10  
Unread 09-26-2010, 06:13 PM
Digital_Utopia's Avatar
Digital_Utopia Digital_Utopia is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 207
Move your declaration of Data so that it's below the constructor lines

add "self." in front of Data

Code:
SatchelWindow = class( Turbine.UI.Window );
function SatchelWindow:Constructor()
     Turbine.UI.Lotro.Window.Constructor( self );

     self.Data = Turbine.PluginData.Load( Turbine.DataScope.Character,  "SatchelData")
     if (self.Data==nil)then 
           self:SetPosition(defaultx,defaulty);
     else
           self:SetPosition(self.Data.x,self.Data.y)
     end

...
end
Where defaultx and defaulty are whatever position you would give that window by default.
__________________

Lord of the Rings Online
75 Fourohfour | 75 Artemedis | 60 Whiskeytango Foxtrot | 50 Mistah Boombastic | 56 Appetizer | 25 Aggromi
61 Onepointtwentyone Gigawatts


World of Warcraft
90 Downlo 85 Gravetaxi 85 Ümad 85 Artemedis 85 Guthuros
Reply With Quote