Lua:LoadGlobalData

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