Jump to content

LoadBankedTable

From CMM Wiki
Revision as of 19:03, 31 December 2025 by Ozdeadmeat (talk | contribs) (LoadBankedTable – created via PowerShell script (2026-01-01T06:03:20Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: LoadBankedTable
Function Description: Loads the campaign banked data from a JSON persistence file located in the mission directory, or initialises default values if the file is missing, then saves the data to ensure persistence.
File Location: cmm.persistence.lua
Syntax: CMM.LoadBankedTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.LoadBankedTable()
Example Description: Loads the campaign banked data from the Campaign_Bank.json file in the mission directory, using default values if the file does not exist.
Related Functions:
Notes: