Jump to content

CreateTemplateTable

From CMM Wiki
Revision as of 14:16, 10 February 2026 by Ozdeadmeat (talk | contribs) (CreateTemplateTable – created via PowerShell script (2026-02-11T01:16:43Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: CreateTemplateTable
Function Description: Creates a Template Table from a zone, this is used to create templates for the CMM.TemplateBuilder function
File Location: cmm.templates.lua
Syntax: CMM.CreateTemplateTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.CreateTemplateTable("FOB_01")
Example Description: Creates a template table in CMM.TEMPLATES of the Objects in the zone "FOB_01" and saves a JSON file of the template to the CMM.DUMPDIR directory as "FOB_01.json"
Related Functions:
Notes: