View Single Post
  #2  
Unread 11-08-2010, 08:17 PM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
I took a look at it, and at first glance, everything seems correct. This is the section of code that should save after a move:

Code:
function FXWindow:MouseUp( arguments )
	if ( arguments.Button ~= Turbine.UI.MouseButton.Left ) then return; end
	if ( self.dragging ) then
		Settings.WindowPosition.Left = self:GetLeft();
		Settings.WindowPosition.Top = self:GetTop();
		Turbine.PluginData.Save( Turbine.DataScope.Character , "FXSettings" , Settings );
	end
	self.dragging = false;
end
Stick in a Turbine.Shell.WriteLine("I saved"); after the actual save line is a good spot to start checking. I will try myself in a while and see what is happening, but have other stuff to attend to.
Reply With Quote