InitializeScheduledCleanZone
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | InitializeScheduledCleanZone | |
| Function Description: | Initializes scheduled zone cleaning for a list of zones, setting the interval and optional silence. | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.InitializeScheduledCleanZone( table TBL , number CleanZoneTime , boolean or nil: Silent ) | |
| Return Value: | ||
| Parameters: | Name | Description |
| TBL | {<string>} – list of zone names to schedule. Each entry should be the name of a zone defined in the mission editor. | |
| CleanZoneTime | interval in seconds between cleans (defaults to 1800 if not a number). | |
| Silent | If true, no informational messages are printed (defaults to false). | |
| Example: | CMM.InitializeScheduledCleanZone({"DebrisArea","Hangar1"}, 300, true) | |
| Example Description: | Schedules cleaning of "DebrisArea" and "Hangar1" every 5 minutes without logging. | |
| Related Functions: | ||
| Notes: | ||