Lua:LoadGlobalData

From Fortress Forever Wiki
Revision as of 07:34, 24 June 2013 by Ddm999 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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" )