GetAllPOI
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetAllPOI | |
| Function Description: | Scans the mission for predefined POI unit types, evaluates their flatness, logs any that exceed a threshold and stores all POIs in CMM.MISSION.POI. The function also writes a JSON file with the collected data. | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.GetAllPOI( number flatnessDelta ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| flatnessDelta | Number value in meters of maximum height difference for an area [DEFAULT: 4] | |
| Example: | CMM.GetAllPOI(5) | |
| Example Description: | Gathers all POIs with a flatness tolerance of 5 m, logs any that exceed the limit, writes -POI.json and populates CMM.MISSION.POI. | |
| Related Functions: | ||
| Notes: | ||