Lua:SaveGlobalData
From Fortress Forever Wiki
Jump to navigationJump to search
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" ) |