Difference between revisions of "Lua:LoadGlobalData"

From Fortress Forever Wiki
Jump to navigationJump to search
(Created page with "{{Infobox manual/Header}} ==LoadGlobalData== Loads a Lua object that has been saved as a serialized file allowing data to be transferred between map changes (the data can al...")
 
(No difference)

Latest revision as of 07:34, 24 June 2013


LoadGlobalData

Loads a Lua object that has been saved as a serialized file allowing data to be transferred between map changes (the data can also be opened by any map).

Usage 1

LoadGlobalData()

Input

No inputs.

Output

Returns a Lua object (either a table, string, boolean or number).

Example

local datatable = LoadGlobalData()

Usage 2

LoadGlobalData( suffix )

Input

  • suffix(string) A suffix that is also on the saved file.

Output

Returns a Lua object (either a table, string, boolean or number).

Example

local datatable = LoadGlobalData( "table" )