MarkerGetMapObject
Appearance
| 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 |
| EventData | Event 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. | |