Jump to content

WeaponRangeStatus

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (WeaponRangeStatus – created via PowerShell script (2025-11-11T21:12:43Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: WeaponRangeStatus
Function Description: Provides a status update for a specified zone by reporting current unit count and percentage of target limit, with optional player notification.
File Location: cmm.spawnFunctions.lua
Syntax: CMM.WeaponRangeStatus( table argTable )
Return Value:
Parameters: Name Description
argTable{ZoneName <string>, UnitLimit <number>, Silent <boolean>
Example: CMM.WeaponRangeStatus({"Weapons-Range-01", 100, false})
Example Description: Displays the status of "Weapons-Range-01" showing 80 units out of 100 target units, with 80% completion, and notifies players.
Related Functions:
Notes:

}