AssessPOI
Appearance
| 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 |
| argTable | The POI data structure to assess. | |
| Example: | CMM.AssessPOI(CMM.ACTIVEPOI) | |
| Example Description: | ||
| Related Functions: | ||
| Notes: | ||