Jump to content

ScheduleSpawnStatic

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: ScheduleSpawnStatic
Function Description: Executes a scheduled spawn of a static object, used in CMM.TemplateBuilder
File Location: cmm.templates.lua
Syntax: CMM.ScheduleSpawnStatic( table argTable )
Return Value: nil
Parameters: Name Description
argTableA table of arguments for the static spawn, {DeployedTBLName <string>, CountryID <number>, StaticTBL
Example: CMM.ScheduleSpawnStatic({"FOB_01#01245", 82, StaticTBL})
Example Description: Returns the next CMM.TemplateID number
Related Functions:
Notes:
}