TemplateBuilder
Appearance
| 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 |
| pos | vec3 table | |
| dir | Direction the template will face when deployed | |
| TemplateName | Name of the template to lookup | |
| BuildSide | The country side to build the template for | |
| BuildTime | How 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: | ||