Jump to content

Dump.CommandCosts

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (dump.CommandCosts – created via PowerShell script (2025-11-11T21:12:49Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: dump.CommandCosts
Function Description: Dumps the CMM.cost table to a JSON file located in the dump directory, sorting the table keys alphabetically before serialization and writing the result to a file named CommandCosts.json.
File Location: cmm.tools.lua
Syntax: CMM.dump.CommandCosts( )
Return Value: nil
Parameters: Name Description
Example: CMM.dump.CommandCosts()
Example Description: Invokes the function to save the sorted CMM.cost table as CommandCosts.json in the dump directory.
Related Functions:
Notes: