Jump to content

ScheduleDeployTemplate

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ScheduleDeployTemplate
Function Description: Deploys a template at the players location (designed for F10 menu use)
File Location: cmm.deployables.lua
Syntax: {{{envType}}}.ScheduleDeployTemplate( )
Return Value: nil
Parameters: Name Description
Example: CMM.ScheduleDeployTemplate({_pos,_dir,"FATCOW","FATCOW",_sideCountry,CMM.DEPLOYABLES.FATCOW.BuildTime,false,_warehouseTBL,{false,false, false
Example Description: {{{exampleDesc}}}
Related Functions:
Notes:

)|exampleDesc= Deploys a template after a specified amount of time.|related= |note= |envType= CMM|par1= table argTable|reqType1= table|reqName1= argTable|desc1= Table consisting of the following parameters in order: position (Vec3), direction (Degrees), name (string), template name (string), side country (number), build time (number), notification (boolean), warehouse table (table), spawning settings table (table)}}