MarkerAirSupportTasking
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerAirSupportTasking | |
| Function Description: | Assigns an air support mission to a specified aircraft by setting orbit parameters, preparing a mission route, and creating a visual marker. It supports both circle and race track orbits based on input arguments, and schedules the mission execution after the aircraft reaches the air. If the aircraft is not found, it notifies the player with an error message. | |
| File Location: | cmm.MapCommandFunctions.lua | |
| Syntax: | CMM.MarkerAirSupportTasking( table EventData ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | Custom Event Table passed by S_EVENT_MARK_REMOVED EventHandler | |
| Example: | CMM.MarkerAirSupportTasking(text = "!isr:Colt11\n-rt 90 5000", pos = {x=100, y= 1400, z=200}) | |
| Example Description: | Assigns an ISR asset designated Colt11 to perform a race track orbit with a bearing of 90 degrees and a range of 5000 meters, starting from position (100, 200). The mission will begin after the aircraft is airborne. | |
| Related Functions: | ||
| Notes: | Map Command !isr , !tanker , !awacs | |