Jump to content

TemplateBuilder

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: TemplateBuilder
Function Description: Builds Saved Tempates
File Location: cmm.templates.lua
Syntax: CMM.TemplateBuilder( table pos , number dir , string TemplateName , number BuildSide , number BuildTime )
Return Value: string or nil
Parameters: Name Description
posvec3 table
dirDirection the template will face when deployed
TemplateNameName of the template to lookup
BuildSideThe country side to build the template for
BuildTimeHow long you want the build to take to complete
Example: CMM.TemplateBuilder({x,y,z}, 33,"FOB_01", 81, 300)
Example Description: Build a template named FOB_01 in the direction of 33 facing the country side 81 and have it complete the build process in 300 seconds
Related Functions:
Notes: