MakePOIList
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MakePOIList | |
| Function Description: | Builds a list of Point‑of‑Interest entries that belong to the supplied grid(s). The function accepts either a single GRID string or an array of GRID strings, filters CMM.MISSION.POI for matching entries, and returns the resulting table (or nil if no valid argument was provided). | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.MakePOIList( table or string input ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| input | Either a single GRID string (e.g. "DK36") or a table of GRID strings (e.g. { "DK36", "DK47", "DK37" }) or a Zone name string | |
| Example: | local poiList = CMM.MakePOIList({"DK36","DK47","DK37"}) | |
| Example Description: | Creates a list of all POIs that lie on grids DK36, DK47 or DK37 and stores it in poiList. | |
| Related Functions: | ||
| Notes: | ||