Jump to content

MarkerSetMapObjectClass

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (MarkerSetMapObjectClass – 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: MarkerSetMapObjectClass
Function Description: Defines a buildings class
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerSetMapObjectClass( table EventData )
Return Value: nil
Parameters: Name Description
EventDataEvent data passed from the marker S_EVENT_MARK_REMOVED event. uses the EventData.pos element and also the EventData.text
Example: CMM.MarkerSetMapObjectClass(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. #BOI #Buildings #Building Classes