Jump to content

ResetZoneData

From CMM Wiki
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: