Jump to content

NewSpawnSupportAircraft: Difference between revisions

From CMM Wiki
NewSpawnSupportAircraft – created via PowerShell script (2025-11-11T21:11:55Z)
Tag: Recreated
 
m NewSpawnSupportAircraft – created via PowerShell script (2026-06-24T22:26:22Z)
 
Line 1: Line 1:
{{Template:FunctionInfo|fName=          NewSpawnSupportAircraft|fDescription=  |parentFile=    cmm.AirSupportFunctions.lua|syntax=        CMM.NewSpawnSupportAircraft(<argTable>)|return=        nil|returnDesc=    Nothing – the function spawns any unscheduled support aircraft from AirSupportTable.|example=        CMM.NewSpawnSupportAircraft({ 1, 2, 3 })|exampleDesc=    Spawns all support aircraft that have not yet been spawned, placing them at the specified airbases and assigning generated tail numbers, livery and callsigns as defined in AirSupportTable.|related=        |note=          |envType= CMM|par1=        table argTable|reqType1=    table|reqName1=    argTable|desc1=      Array containing the drone, AWACS and tanker airbase IDs (defaults to the first ID if omitted).}}
{{Template:FunctionInfo|fName=          NewSpawnSupportAircraft|fDescription=  |parentFile=    cmm.AirSupportFunctions.lua|syntax=        CMM.NewSpawnSupportAircraft(<argTable>)|return=        nil|returnDesc=    Nothing – the function spawns any unscheduled support aircraft from AirSupportTable.|example=        CMM.NewSpawnSupportAircraft({ 1, 2, 3 })|exampleDesc=    Spawns all support aircraft that have not yet been spawned, placing them at the specified airbases and assigning generated tail numbers, livery and callsigns as defined in AirSupportTable.|related=        |note=          |envType= CMM|par1=        table argTable|reqType1=    table|reqName1=    argTable|desc1=      Array containing the [1] Drone, [2] AWACS and [3] Tanker airbase IDs (defaults to the first ID if omitted), Can supply String names or Airbase IDs.}}

Latest revision as of 12:26, 24 June 2026

Return to CMM Command Reference
Environment: Mission Scripting
Function: NewSpawnSupportAircraft
Function Description:
File Location: cmm.AirSupportFunctions.lua
Syntax: CMM.NewSpawnSupportAircraft( table argTable )
Return Value: nil
Parameters: Name Description
argTableArray containing the [1] Drone, [2] AWACS and [3] Tanker airbase IDs (defaults to the first ID if omitted), Can supply String names or Airbase IDs.
Example: CMM.NewSpawnSupportAircraft({ 1, 2, 3 })
Example Description: Spawns all support aircraft that have not yet been spawned, placing them at the specified airbases and assigning generated tail numbers, livery and callsigns as defined in AirSupportTable.
Related Functions:
Notes: