Jump to content

GatherDebugEventData

From CMM Wiki
Revision as of 12:27, 24 June 2026 by Ozdeadmeat (talk | contribs) (GatherDebugEventData – created via PowerShell script (2026-06-24T22:27:32Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: GatherDebugEventData
Function Description: Adds a sortie event to the sortie tracking system using a custom event table, enabling post-event processing such as scoring, notifications, and sortie bank scheduling. The function accepts a table with event data and processes it accordingly.
File Location: cmm.XpFunctions.lua
Syntax: CMM.GatherDebugEventData( table EventData )
Return Value: table
Parameters: Name Description
EventDataTable containing event data from a DCS event, including initiator and other items
Example: CMM.GatherDebugEventData({id = world.event.S_EVENT_LAND, initiator = unit, place = location})
Example Description: This would return an event events and schedules a sortie bank task after a land event, ensuring proper scoring and notification logic is applied.
Related Functions:
Notes: