Jump to content

Tools.BuildTerrainBOIDatabase

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: tools.BuildTerrainBOIDatabase
Function Description: Draws a polygon in the world using a series of relative points offset from a base position, with configurable line and fill colors, and outputs the world positions for debugging via JSON.
File Location: cmm.tools.lua
Syntax: CMM.tools.BuildTerrainBOIDatabase( string ZoneName )
Return Value: nil
Parameters: Name Description
ZoneNameThis is the name of the Zone that will be used as the scan area, a string variable. This is to break up processing as this is quite an intensive process and might need to be done in batches.
Example: CMM.tools.BuildTerrainBOIDatabase("ALLMAP")
Example Description: Function uses CMM.BOITypes table to systematically go through and generate (CMM.BOITypes is generated by using !boi command)
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