Jump to content

ResetZoneData

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (ResetZoneData – created via PowerShell script (2025-11-11T21:12:55Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: ResetZoneData
Function Description: Resets the CMM.ZONE.STATE and CMM.ZONE.SITREP global tables by initializing them with zero unit counts and default zone metadata for all defined zones.
File Location: cmm.ZoneFunctions.lua
Syntax: CMM.ResetZoneData( )
Return Value: nil
Parameters: Name Description
Example: CMM.ResetZoneData()
Example Description: Clears all existing zone data and reinitializes both state and sitrep tables with zero unit counts and default zone identifiers for every zone defined in the mission.
Related Functions:
Notes: