Jump to content

ResetZoneData

From CMM Wiki
Revision as of 19:03, 31 December 2025 by Ozdeadmeat (talk | contribs) (ResetZoneData – created via PowerShell script (2026-01-01T06:03:46Z))
(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 reinitialises both state and sitrep tables with zero unit counts and default zone identifiers for every zone defined in the mission.
Related Functions:
Notes: