Jump to content

MakePOIList

From CMM Wiki
Revision as of 19:02, 31 December 2025 by Ozdeadmeat (talk | contribs) (MakePOIList – created via PowerShell script (2026-01-01T06:02:56Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
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
inputEither 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: