Jump to content

AssessPOI

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (AssessPOI – 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: AssessPOI
Function Description: Evaluates the current ownership of a Point‑of‑Interest (POI) by counting friendly and hostile ground units within its radius; updates the owner field and marker colour accordingly, storing previousOwner to avoid unnecessary changes.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.AssessPOI( table argTable )
Return Value: nil
Parameters: Name Description
argTableThe POI data structure to assess.
Example: CMM.AssessPOI(CMM.ACTIVEPOI)
Example Description:
Related Functions:
Notes: