Jump to content

CreateTemplateTable

From CMM Wiki
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: