diff --git a/docs/Documentation/AI_Patrol.html b/docs/Documentation/AI_Patrol.html index 43392b308..93a9f8ce6 100644 --- a/docs/Documentation/AI_Patrol.html +++ b/docs/Documentation/AI_Patrol.html @@ -926,9 +926,6 @@ Use the method AIPATROLZONE.M - -

This table contains the targets detected during patrol.

-
diff --git a/docs/Documentation/Cargo.html b/docs/Documentation/Cargo.html index e3fae231c..262969991 100644 --- a/docs/Documentation/Cargo.html +++ b/docs/Documentation/Cargo.html @@ -2934,7 +2934,6 @@ The range till cargo will board.

- CARGO_UNIT.CargoCarrier @@ -3060,7 +3059,6 @@ The range till cargo will board.

- #number CARGO_UNIT.RunCount diff --git a/docs/Documentation/CleanUp.html b/docs/Documentation/CleanUp.html index 73f6287e3..fe64315b1 100644 --- a/docs/Documentation/CleanUp.html +++ b/docs/Documentation/CleanUp.html @@ -138,12 +138,96 @@ CLEANUP.<

string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases.

+ + + + CLEANUP:AddAirbase(AirbaseName) + +

Adds an airbase to the airbase validation list.

CLEANUP.CleanUpScheduler + + + + CLEANUP:IsInAirbase(Vec2) + + + + + + CLEANUP:New(<, AirbaseNames) + +

Creates the main object which is handling the cleaning of the debris within the given Zone Names.

+ + + + CLEANUP:OnEventBirth(EventData) + + + + + + CLEANUP:OnEventCrash(event, Event) + +

Detects if a crash event occurs.

+ + + + CLEANUP:OnEventHit(Event) + +

Detects if the Unit has an SEVENTHIT within the given AirbaseNames.

+ + + + CLEANUP:OnEventShot(Event) + +

Detects if a unit shoots a missile.

+ + + + CLEANUP:RemoveAirbase(AirbaseName) + +

Removes an airbase from the airbase validation list.

+ + + + CLEANUP:_AddForCleanUp(CleanUpUnit, CleanUpUnitName) + +

Add the DCSWrapper.Unit#Unit to the CleanUpList for CleanUp.

+ + + + CLEANUP:_CleanUpScheduler() + +

At the defined time interval, CleanUp the Groups within the CleanUpList.

+ + + + CLEANUP:_DestroyGroup(GroupObject, CleanUpGroupName) + +

Destroys a group from the simulator, but checks first if it is still existing!

+ + + + CLEANUP:_DestroyMissile(MissileObject) + + + + + + CLEANUP:_DestroyUnit(CleanUpUnit) + +

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 AirbaseNames.

@@ -152,7 +236,7 @@
- + #CLEANUP CLEANUP @@ -182,6 +266,32 @@

string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases.

+ +
+
+
+ + +CLEANUP:AddAirbase(AirbaseName) + +
+
+ +

Adds an airbase to the airbase validation list.

+ +

Parameter

+
    +
  • + +

    #string AirbaseName :

    + +
  • +
+

Return value

+ +

#CLEANUP:

+ +
@@ -196,6 +306,330 @@ + +
+
+
+ + +CLEANUP:IsInAirbase(Vec2) + +
+
+ + + +

Parameter

+
    +
  • + +

    Vec2 :

    + +
  • +
+
+
+
+
+ + +CLEANUP:New(<, AirbaseNames) + +
+
+ +

Creates the main object which is handling the cleaning of the debris within the given Zone Names.

+ +

Parameters

+
    +
  • + +

    #list < : +string> AirbaseNames Is a table of airbase names where the debris should be cleaned. Also a single string can be passed with one airbase name.

    + +
  • +
  • + +

    AirbaseNames :

    + +
  • +
+

Return value

+ +

#CLEANUP:

+ + +

Usage:

+
 -- Clean these Zones.
+CleanUpAirports = CLEANUP:New( { AIRBASE.Caucasus.Tbilisi, AIRBASE.Caucasus.Kutaisi )
+or
+CleanUpTbilisi = CLEANUP:New( AIRBASE.Caucasus.Tbilisi )
+CleanUpKutaisi = CLEANUP:New( AIRBASE.Caucasus.Kutaisi )
+ +
+
+
+
+ + +CLEANUP:OnEventBirth(EventData) + +
+
+ + + +

Parameter

+ +
+
+
+
+ + +CLEANUP:OnEventCrash(event, Event) + +
+
+ +

Detects if a crash event occurs.

+ + +

Crashed units go into a CleanUpList for removal.

+ +

Parameters

+ +
+
+
+
+ + +CLEANUP:OnEventHit(Event) + +
+
+ +

Detects if the Unit has an SEVENTHIT within the given AirbaseNames.

+ + +

If this is the case, destroy the unit.

+ +

Parameter

+ +
+
+
+
+ + +CLEANUP:OnEventShot(Event) + +
+
+ +

Detects if a unit shoots a missile.

+ + +

If this occurs within one of the airbases, then the weapon used must be destroyed.

+ +

Parameter

+ +
+
+
+
+ + +CLEANUP:RemoveAirbase(AirbaseName) + +
+
+ +

Removes an airbase from the airbase validation list.

+ +

Parameter

+
    +
  • + +

    #string AirbaseName :

    + +
  • +
+

Return value

+ +

#CLEANUP:

+ + +
+
+
+
+ + +CLEANUP:_AddForCleanUp(CleanUpUnit, CleanUpUnitName) + +
+
+ +

Add the DCSWrapper.Unit#Unit to the CleanUpList for CleanUp.

+ +

Parameters

+
    +
  • + +

    CleanUpUnit :

    + +
  • +
  • + +

    CleanUpUnitName :

    + +
  • +
+
+
+
+
+ + +CLEANUP:_CleanUpScheduler() + +
+
+ +

At the defined time interval, CleanUp the Groups within the CleanUpList.

+ +
+
+
+
+ + +CLEANUP:_DestroyGroup(GroupObject, CleanUpGroupName) + +
+
+ +

Destroys a group from the simulator, but checks first if it is still existing!

+ +

Parameters

+
    +
  • + +

    Dcs.DCSWrapper.Group#Group GroupObject : +The object to be destroyed.

    + +
  • +
  • + +

    #string CleanUpGroupName : +The groupname...

    + +
  • +
+
+
+
+
+ + +CLEANUP:_DestroyMissile(MissileObject) + +
+
+ + + + +

TODO check Dcs.DCSTypes#Weapon +- Destroys a missile from the simulator, but checks first if it is still existing! + @param #CLEANUP self + @param Dcs.DCSTypes#Weapon MissileObject

+ +

Parameter

+
    +
  • + +

    MissileObject :

    + +
  • +
+
+
+
+
+ + +CLEANUP:_DestroyUnit(CleanUpUnit) + +
+
+ +

Destroys a Unit from the simulator, but checks first if it is still existing!

+ +

Parameter

+ +
+
+
+
+ + +CLEANUP:_EventAddForCleanUp(Event) + +
+
+ +

Detects if the Unit has an SEVENTENGINESHUTDOWN or an SEVENT_HIT within the given AirbaseNames.

+ + +

If this is the case, add the Group to the CLEANUP List.

+ +

Parameter

+
diff --git a/docs/Documentation/Detection.html b/docs/Documentation/Detection.html index d18ec397a..141b7d951 100644 --- a/docs/Documentation/Detection.html +++ b/docs/Documentation/Detection.html @@ -2393,6 +2393,7 @@ The index of the DetectedItem.

+ #number DETECTION_BASE.DetectedItemCount @@ -2406,6 +2407,7 @@ The index of the DetectedItem.

+ #number DETECTION_BASE.DetectedItemMax @@ -2563,7 +2565,7 @@ The index of the DetectedItem.

- + #number DETECTION_BASE.DetectionInterval diff --git a/docs/Documentation/Point.html b/docs/Documentation/Point.html index ba2001e76..c9a6550f1 100644 --- a/docs/Documentation/Point.html +++ b/docs/Documentation/Point.html @@ -2823,6 +2823,7 @@ The y coordinate.

+ POINT_VEC2.z diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html index 0f27003d1..1183a03bf 100644 --- a/docs/Documentation/Spawn.html +++ b/docs/Documentation/Spawn.html @@ -2194,9 +2194,6 @@ The group that was spawned. You can use this group for further actions.

- -

Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.

-
@@ -2729,9 +2726,6 @@ when nothing was spawned.

- -

Overwrite unit names by default with group name.

-
@@ -2746,9 +2740,6 @@ when nothing was spawned.

- -

By default, no InitLimit

-
@@ -2784,7 +2775,7 @@ when nothing was spawned.

- #number + SPAWN.SpawnMaxGroups @@ -2801,7 +2792,7 @@ when nothing was spawned.

- #number + SPAWN.SpawnMaxUnitsAlive @@ -3129,7 +3120,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
- #boolean + SPAWN.SpawnUnControlled @@ -3153,7 +3144,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 ) -

Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.

+

When the first Spawn executes, all the Groups need to be made visible before start.

diff --git a/docs/Documentation/SpawnStatic.html b/docs/Documentation/SpawnStatic.html index bc91b9624..d8aa5e633 100644 --- a/docs/Documentation/SpawnStatic.html +++ b/docs/Documentation/SpawnStatic.html @@ -436,6 +436,7 @@ ptional) The name of the new static.

+ #number SPAWNSTATIC.SpawnIndex diff --git a/docs/Documentation/Spot.html b/docs/Documentation/Spot.html index ead3792db..5fdc3b305 100644 --- a/docs/Documentation/Spot.html +++ b/docs/Documentation/Spot.html @@ -765,6 +765,7 @@ true if it is lasing

+ SPOT.ScheduleID @@ -778,6 +779,7 @@ true if it is lasing

+ SPOT.SpotIR @@ -791,6 +793,7 @@ true if it is lasing

+ SPOT.SpotLaser @@ -804,6 +807,7 @@ true if it is lasing

+ SPOT.Target diff --git a/docs/Documentation/Task_Cargo.html b/docs/Documentation/Task_Cargo.html index 76e219e8b..9bf9da484 100644 --- a/docs/Documentation/Task_Cargo.html +++ b/docs/Documentation/Task_Cargo.html @@ -510,7 +510,7 @@ based on the tasking capabilities defined in Task#TA
- Core.Cargo#CARGO_GROUP + Core.Cargo#CARGO FSM_PROCESS.Cargo diff --git a/docs/Presentations/CLEANUP/Dia1.JPG b/docs/Presentations/CLEANUP/Dia1.JPG index 254335576..281e0d792 100644 Binary files a/docs/Presentations/CLEANUP/Dia1.JPG and b/docs/Presentations/CLEANUP/Dia1.JPG differ