Lua:LoadMapData

From Fortress Forever Wiki
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" )