Jump to content

LoadPOI

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (LoadPOI – created via PowerShell script (2025-11-11T21:12:06Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: LoadPOI
Function Description: Loads POI data from a JSON file. The function first looks for a mission‑specific POI file in the mission directory; if not found it falls back to the CMM default POI file. The decoded table is stored in CMM.MISSION.POI.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.LoadPOI( )
Return Value:
Parameters: Name Description
Example: CMM.LoadPOI()
Example Description: Attempts to load <theatre>-POI.json from the mission folder, otherwise from the CMM POI directory.
Related Functions:
Notes: