Jump to content

MarkerGetMapObject

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (MarkerGetMapObject – created via PowerShell script (2025-11-11T21:12:19Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerGetMapObject
Function Description: Gets the Terrain Object from under the mark point supplied and writes the specific information about the object to a file
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerGetMapObject( table EventData )
Return Value: nil
Parameters: Name Description
EventDataEvent data passed from the marker S_EVENT_MARK_REMOVED event. uses the EventData.pos element
Example: CMM.MarkerGetMapObject(EventData)
Example Description: Appends to TerrainObjects.json information about the terrain object under the map marker
Related Functions:
Notes: This function REQUIRES the Terrain module in DCS to be loaded.