Jump to content

CleanZone

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