Difference between revisions of "Lua:SaveMapData"
From Fortress Forever Wiki
Jump to navigationJump to search (Created page with "{{Infobox manual/Header}} ==SaveMapData== Saves a Lua object as a serialized file allowing data to be transferred between map changes. ==Usage 1== <pre>SaveMapData( luaobj...") |
(No difference)
|
Latest revision as of 07:28, 24 June 2013
|
SaveMapDataSaves a Lua object as a serialized file allowing data to be transferred between map changes. Usage 1SaveMapData( luaobject ) Input
OutputReturns: nothing Examplelocal datatable = { 1, 2, 3 }
SaveMapData( datatable )
Usage 2SaveMapData( luaobject, suffix ) Input
OutputReturns: nothing Examplelocal datatable = { 1, 2, 3 }
SaveMapData( datatable, "table" )
|