Dump.CommandCosts
Appearance
| 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: | ||