Jump to content

GenerateWeaponsList

From CMM Wiki
Revision as of 10:11, 11 November 2025 by Ozdeadmeat (talk | contribs) (GenerateWeaponsList – created via PowerShell script (2025-11-11T21:11:54Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: GenerateWeaponsList
Function Description:
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.GenerateWeaponsList( table WHTable )
Return Value: nil
Parameters: Name Description
WHTableA warehouse object that contains a weapon field holding the inventory of weapons.
Example: CMM.GenerateWeaponsList(warehouse)
Example Description: Creates a list of all weapons in the supplied warehouse and writes it to CMM.WEAPONSLIST.json.
Related Functions:
Notes: