Jump to content

Tools.BuildDataDumpTable

From CMM Wiki
Revision as of 19:03, 31 December 2025 by Ozdeadmeat (talk | contribs) (tools.BuildDataDumpTable – created via PowerShell script (2026-01-01T06:03:42Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: