Jump to content

GetGridsInZone

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: GetGridsInZone
Function Description: Returns an array of all 10x10km grids in a zone
File Location: cmm.ZoneFunctions.lua
Syntax: CMM.GetGridsInZone( string zoneName , number or nil stepMetres )
Return Value: nil
Parameters: Name Description
zoneNameName of the zone as defined in the mission editor.
stepMetresNumber of metres between each grid point to sample; [DEFAULT:1000] if not provided.
Example: CMM.GetGridsInZone("Zone15",1000)
Example Description: Returns a table of all 10x10km grid references within the zone named "Zone15", sampling points every 1000 metres.
Related Functions:
Notes: