Jump to content

SaveBankedTable

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (SaveBankedTable – created via PowerShell script (2025-11-11T21:12:30Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: