Thread: Save on Unload
View Single Post
  #1  
Unread 12-12-2010, 05:44 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Save on Unload

Note to developers: The save on unload facility appears to be fixed in the latest patch!

As an example;

Code:
if ( Plugins ["NameOfPlugin"] ~= nil ) then
	Plugins["NameOfPlugin"].Unload = function( sender, args )
		CallYourSaveFunction()
		Turbine.Shell.WriteLine("All data saved!")
	end
end
Now appears to work properly at last!
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote