View Single Post
  #4  
Unread 01-09-2016, 04:02 PM
corhub's Avatar
corhub corhub is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 7
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.
Reply With Quote