Difference between revisions of "Lua:SaveGlobalData"
From Fortress Forever Wiki
Jump to navigationJump to search (Created page with "{{Infobox manual/Header}} ==SaveGlobalData== Saves a Lua object as a serialized file allowing data to be transferred between map changes (the data can also be opened by any ...") |
(No difference)
|
Latest revision as of 07:34, 24 June 2013
|
SaveGlobalDataSaves a Lua object as a serialized file allowing data to be transferred between map changes (the data can also be opened by any map). Usage 1SaveGlobalData( luaobject ) Input
OutputReturns: nothing Examplelocal datatable = { 1, 2, 3 }
SaveGlobalData( datatable )
Usage 2SaveGlobalData( luaobject, suffix ) Input
OutputReturns: nothing Examplelocal datatable = { 1, 2, 3 }
SaveGlobalData( datatable, "table" )
|