Jump to content

LoadBankedTable

From CMM Wiki
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: