LoadPOI
Appearance
| 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: | ||