Jump to content

Tools.BuildDataDumpTable

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: tools.BuildDataDumpTable
Function Description: Constructs a comprehensive table of unit types and their associated weapon and equipment types by iterating through all helicopter, plane, ship, and vehicle units, extracting weapon data, and organizing it into a structured format for debugging and analysis.
File Location: cmm.tools.lua
Syntax: CMM.tools.BuildDataDumpTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.tools.BuildDataDumpTable()
Example Description: initialises and processes all unit types, collects weapon and equipment data, logs progress, and outputs the full data structure in JSON format for inspection.
Related Functions:
Notes: