PDA

View Full Version : Save on Unload


MrJackdaw
12-12-2010, 05:44 PM
Note to developers: The save on unload facility appears to be fixed in the latest patch!

As an example;

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!

Chiran
12-16-2010, 02:07 AM
Thanks, that works :)

-Chiran