CleanZone
Appearance
| 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 |
| ZoneID | Name of a zone defined in the mission editor. | |
| Silent | If 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: | ||