import "Turbine";
import "Turbine.Gameplay";
import "Turbine.UI"; -- this will expose the label control that we will implement
import "Turbine.UI.Lotro"; -- this will expose the standard window that we will implement
import "HelloWorld.JHubbard.class";
function SaveData()
Turbine.Shell.WriteLine("The current character is ("..tostring(MYCHAR)..")");
local Settings=MYCHAR;
Turbine.Shell.WriteLine("The settings currently is ("..tostring(Settings)..")");
PatchDataSave( Turbine.DataScope.Account, "Test_File", Settings );
end
I must be missing something else because I keep getting an error message when I'm trying to save data. It says that PatchDataSave is a nil value. I'm not sure what I'm doing wrong this time.
|