Jump to content

ScheduledDestroy

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ScheduledDestroy
Function Description: Shedules the destruction of an object, used in CMM.RemoveDeployedTemplate
File Location: cmm.templates.lua
Syntax: CMM.ScheduledDestroy( table argTable )
Return Value: nil
Parameters: Name Description
argTableA table of arguments for the destruction, {DeployedObject <object>
Example: CMM.ScheduleSpawnStatic({<groupObject})
Example Description: Removes the deployed template with the name prefix "FOB_01#01245" over a duration of 300 seconds, scheduling the destruction of all associated objects in the CMM.DEPLOYED table for that template.
Related Functions:
Notes:

}