Jump to content

ScheduleSpawnFARPObject

From CMM Wiki
Revision as of 14:16, 10 February 2026 by Ozdeadmeat (talk | contribs) (ScheduleSpawnFARPObject – created via PowerShell script (2026-02-11T01:16:44Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: ScheduleSpawnFARPObject
Function Description: Spawns a FARP object with a set of parameters supplied
File Location: cmm.templates.lua
Syntax: CMM.ScheduleSpawnFARPObject( table argTable )
Return Value: nil
Parameters: Name Description
argTableArgument table for spawning FARP objects, {TemplateTBL <string>, GroupName <string>, Country <number>, SpawnPoint , Heading <number>, DynamicSpawn <boolean>, Hotstart <boolean>
Example: CMM.ScheduleSpawnFARPObject({TemplateTBL = "FOB_01#01245", GroupName = "FOB_01#01245_FARP", Country = 82, SpawnPoint = {x=0,y=0,z=0}, Heading = 33, DynamicSpawn = true, Hotstart = false})
Example Description: Returns nothing but spawns the FARP object and then adds it to the CMM.DEPLOYED table for tracking under the "FOB_01#01245" template
Related Functions:
Notes:
}