Jump to content

LoadFacilityTemplates

From CMM Wiki
Revision as of 14:16, 10 February 2026 by Ozdeadmeat (talk | contribs) (LoadFacilityTemplates – created via PowerShell script (2026-02-11T01:16:44Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: LoadFacilityTemplates
Function Description: Loads Saved Tempates from a directory into the CMM.TEMPLATES table
File Location: cmm.templates.lua
Syntax: CMM.LoadFacilityTemplates( string TemplatePath )
Return Value: string or nil
Parameters: Name Description
TemplatePathName of the template to lookup
Example: CMM.LoadFacilityTemplates("G:\Templates")
Example Description: Loads all templates from G:\Templates directory into the CMM.TEMPLATES table
Related Functions:
Notes: