Module CLEANUP
CLEANUP Classes
Global(s)
| CLEANUP | |
| CleanUpSurfaceTypeText |
Type CLEANUP
| CLEANUP.ClassName | |
| CLEANUP.CleanUpList | |
| CLEANUP:New(ZoneNames, TimeInterval) | |
| CLEANUP.TimeInterval | |
| CLEANUP.ZoneNames | |
| CLEANUP:_AddForCleanUp(CleanUpUnit, CleanUpUnitName) | |
| CLEANUP:_DestroyGroup(GroupObject, CleanUpGroupName) |
Destroys a group from the simulator, but checks first if it is still existing! |
| CLEANUP:_DestroyMissile(MissileObject) |
Destroys a missile from the simulator, but checks first if it is still existing! |
| CLEANUP:_DestroyUnit(CleanUpUnit, CleanUpUnitName) |
Destroys a unit from the simulator, but checks first if it is still existing! |
| CLEANUP:_EventAddForCleanUp(event) |
Detects if the Unit has an SEVENTENGINESHUTDOWN or an SEVENT_HIT within the given ZoneNames. |
| CLEANUP:_EventCrash(event) |
Detects if an SA site was shot with an anti radiation missile. |
| CLEANUP:_EventHitCleanUp(event) |
Detects if the Unit has an SEVENTHIT within the given ZoneNames. |
| CLEANUP:_EventShot(event) |
Detects if an SA site was shot with an anti radiation missile. |
| CLEANUP:_Scheduler() |
At the defined time interval, CleanUp the Groups within the CleanUpList. |
Global(s)
Type CLEANUP
The CLEANUP class.
Field(s)
- #string CLEANUP.ClassName
- CLEANUP:New(ZoneNames, TimeInterval)
-
Parameters
-
ZoneNames: -
TimeInterval:
-
- #number CLEANUP.TimeInterval
- CLEANUP:_AddForCleanUp(CleanUpUnit, CleanUpUnitName)
-
Parameters
-
CleanUpUnit: -
CleanUpUnitName:
-
- CLEANUP:_DestroyGroup(GroupObject, CleanUpGroupName)
-
Destroys a group from the simulator, but checks first if it is still existing!
Parameters
-
GroupObject: -
CleanUpGroupName:
-
- CLEANUP:_DestroyMissile(MissileObject)
-
Destroys a missile from the simulator, but checks first if it is still existing!
Parameter
-
MissileObject:
-
- CLEANUP:_DestroyUnit(CleanUpUnit, CleanUpUnitName)
-
Destroys a unit from the simulator, but checks first if it is still existing!
Parameters
-
CleanUpUnit: -
CleanUpUnitName:
-
- CLEANUP:_EventAddForCleanUp(event)
-
Detects if the Unit has an SEVENTENGINESHUTDOWN or an SEVENT_HIT within the given ZoneNames.
If this is the case, add the Group to the CLEANUP List.
Parameter
-
event:
-
- CLEANUP:_EventCrash(event)
-
Detects if an SA site was shot with an anti radiation missile.
In this case, take evasive actions based on the skill level set within the ME.
Parameter
-
event:
-
- CLEANUP:_EventHitCleanUp(event)
-
Detects if the Unit has an SEVENTHIT within the given ZoneNames.
If this is the case, destroy the unit.
Parameter
-
event:
-
- CLEANUP:_EventShot(event)
-
Detects if an SA site was shot with an anti radiation missile.
In this case, take evasive actions based on the skill level set within the ME.
Parameter
-
event:
-
- CLEANUP:_Scheduler()
-
At the defined time interval, CleanUp the Groups within the CleanUpList.