Lua:LoadMapData

From Fortress Forever Wiki
Revision as of 08:32, 24 June 2013 by Ddm999 (talk | contribs) (Created page with "{{Infobox manual/Header}} ==LoadMapData== Loads a Lua object that has been saved as a serialized file allowing data to be transferred between map changes. ==Usage 1== <pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


LoadMapData

Loads a Lua object that has been saved as a serialized file allowing data to be transferred between map changes.

Usage 1

LoadMapData()

Input

No inputs.

Output

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

Example

local datatable = LoadMapData()

Usage 2

LoadMapData( 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 = LoadMapData( "table" )