Jump to content

SaveBankedTable

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: SaveBankedTable
Function Description: Saves the current campaign banked data to a JSON file in the mission directory, formatting it as pretty-printed JSON for readability and ensuring persistence across mission reloads.
File Location: cmm.persistence.lua
Syntax: CMM.SaveBankedTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.SaveBankedTable()
Example Description: Saves the current CMM.BANKED table to Campaign_Bank.json in the mission directory with pretty-printed formatting.
Related Functions:
Notes: