Tools.GetMapObject
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | tools.GetMapObject | |
| Function Description: | Returns information about the map object at a specific point on the map | |
| File Location: | cmm.tools.lua | |
| Syntax: | CMM.tools.GetMapObject( table vec3 , boolean or nil AllData ) | |
| Return Value: | string or table or nil | |
| Parameters: | Name | Description |
| vec3 | vec3 table with x,y,z elements | |
| AllData | if this is supplied it will return a full datagram, if not true, will return the model type string only | |
| Example: | CMM.tools.GetMapObject({x=1,y=1,z=1},true) | |
| Example Description: | This example will return a full datagram of the object at a specific point on the map | |
| Related Functions: | ||
| Notes: | --TODO This function is a work in progress. As terrains are quite large the expectation is that it will use the MGRS 100km2 grids to process all items | |