GetZonePOI
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | GetZonePOI | |
| Function Description: | Retrieves all active POIs that lie inside a named zones. If Show is true, the function draws coloured circles and labels on the F10 map to visualise each POI’s position, radius and terrain flatness. | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.GetZonePOI( string or table ZoneName , boolean or nil Show ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| ZoneName | Name of a zone defined in the mission editor (or a trigger.misc.getZone table). | |
| Show | When true, displays POI markers on the map; defaults to false. | |
| Example: | CMM.GetZonePOI("WeaponsRange02", true) | |
| Example Description: | Retrieves the POIs for Zone 'WeaponsRange02' and produces map markers on the F10 map | |
| Related Functions: | ||
| Notes: | ||