Jump to content

CleanZone

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (CleanZone – created via PowerShell script (2025-11-11T21:12:02Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: CleanZone
Function Description: Removes all DCS junk objects within the specified zone; optionally suppresses console output when Silent is true.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.CleanZone( string ZoneID , boolean? Silent )
Return Value:
Parameters: Name Description
ZoneIDName of a zone defined in the mission editor.
SilentIf true, no informational message will be printed (defaults to false).
Example: CMM.CleanZone("DebrisArea", true)
Example Description: Cleans all junk inside "DebrisArea" without printing a log line.
Related Functions:
Notes: