diff --git a/Moose Development/Moose/Functional/CleanUp.lua b/Moose Development/Moose/Functional/CleanUp.lua index 7bcda11dd..9e209ff27 100644 --- a/Moose Development/Moose/Functional/CleanUp.lua +++ b/Moose Development/Moose/Functional/CleanUp.lua @@ -10,11 +10,11 @@ -- @module CleanUp --- @type CLEANUP.__ +-- @field #map<#string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases. -- @extends Core.Base#BASE --- @type CLEANUP -- @extends #CLEANUP.__ --- @field #map<#string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases. --- # CLEANUP, extends @{Base#BASE} -- @@ -66,12 +66,14 @@ CLEANUP = { ClassName = "CLEANUP", TimeInterval = 0.2, CleanUpList = {}, - Airbases = {}, } --- @field #CLEANUP.__ CLEANUP.__ = {} +--- @field #CLEANUP.__.Airbases +CLEANUP.__.Airbases = {} + --- Creates the main object which is handling the cleaning of the debris within the given Zone Names. -- @param #CLEANUP self -- @param #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. @@ -108,8 +110,8 @@ end -- @param #string AirbaseName -- @return #CLEANUP function CLEANUP:AddAirbase( AirbaseName ) - self.Airbases[AirbaseName] = AIRBASE:FindByName( AirbaseName ) - self:F({"Airbase:", AirbaseName, self.Airbases[AirbaseName]:GetDesc()}) + self.__.Airbases[AirbaseName] = AIRBASE:FindByName( AirbaseName ) + self:F({"Airbase:", AirbaseName, self.__.Airbases[AirbaseName]:GetDesc()}) return self end @@ -119,7 +121,7 @@ end -- @param #string AirbaseName -- @return #CLEANUP function CLEANUP:RemoveAirbase( AirbaseName ) - self.Airbases[AirbaseName] = nil + self.__.Airbases[AirbaseName] = nil return self end @@ -128,7 +130,7 @@ end function CLEANUP.__:IsInAirbase( Vec2 ) local InAirbase = false - for AirbaseName, Airbase in pairs( self.Airbases ) do + for AirbaseName, Airbase in pairs( self.__.Airbases ) do local Airbase = Airbase -- Wrapper.Airbase#AIRBASE if Airbase:GetZone():IsVec2InZone( Vec2 ) then InAirbase = true diff --git a/docs/Documentation/AI_A2A.html b/docs/Documentation/AI_A2A.html index 2a24504d1..ee2dc9007 100644 --- a/docs/Documentation/AI_A2A.html +++ b/docs/Documentation/AI_A2A.html @@ -575,7 +575,6 @@
- #number AI_A2A.IdleCount diff --git a/docs/Documentation/CleanUp.html b/docs/Documentation/CleanUp.html index a9c1593dd..24d7c0a67 100644 --- a/docs/Documentation/CleanUp.html +++ b/docs/Documentation/CleanUp.html @@ -134,12 +134,6 @@

Type CLEANUP

- - - -
CLEANUP.< -

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

-
CLEANUP:AddAirbase(AirbaseName)

Adds an airbase to the airbase validation list.

@@ -174,9 +168,21 @@

Type CLEANUP.__

+ + + + + + + + @@ -308,20 +314,6 @@ The method CLEANUP.RemoveAirbase removes
- #map - -CLEANUP.< - -
-
- -

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

- -
-
-
-
- CLEANUP:AddAirbase(AirbaseName) @@ -444,6 +436,20 @@ CleanUpKutaisi = CLEANUP:New( AIRBASE.Caucasus.Kutaisi )
+ #map + +CLEANUP.__.< + +
+
+ +

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

+ +
+
+
+
+ CLEANUP.__:AddForCleanUp(CleanUpUnit, CleanUpUnitName) @@ -465,6 +471,20 @@ CleanUpKutaisi = CLEANUP:New( AIRBASE.Caucasus.Kutaisi ) + +
+
+
+ + #CLEANUP.__.Airbases + +CLEANUP.__.Airbases + +
+
+ + +
@@ -662,6 +682,8 @@ The object to be destroyed.

+

Type CLEANUP.__.Airbases

+

Type list

Type map

diff --git a/docs/Documentation/Detection.html b/docs/Documentation/Detection.html index 1754d0aa0..d18ec397a 100644 --- a/docs/Documentation/Detection.html +++ b/docs/Documentation/Detection.html @@ -2563,7 +2563,7 @@ The index of the DetectedItem.

- #number + DETECTION_BASE.DetectionInterval diff --git a/docs/Documentation/Movement.html b/docs/Documentation/Movement.html index be5ce073c..4307c3aaa 100644 --- a/docs/Documentation/Movement.html +++ b/docs/Documentation/Movement.html @@ -227,7 +227,6 @@ on defined intervals (currently every minute).

- #number MOVEMENT.AliveUnits @@ -236,9 +235,6 @@ on defined intervals (currently every minute).

- -

Contains the counter how many units are currently alive

-
diff --git a/docs/Documentation/Settings.html b/docs/Documentation/Settings.html index 4dce02244..7dca37cbf 100644 --- a/docs/Documentation/Settings.html +++ b/docs/Documentation/Settings.html @@ -1073,7 +1073,7 @@ true if metric.

- #boolean + SETTINGS.Metric diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html index 1183a03bf..26a6bfada 100644 --- a/docs/Documentation/Spawn.html +++ b/docs/Documentation/Spawn.html @@ -2194,6 +2194,9 @@ 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.

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

+ +

Overwrite unit names by default with group name.

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

+ +

By default, no InitLimit

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

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

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

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

+

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

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

- #number SPAWNSTATIC.SpawnIndex
CLEANUP.__.< +

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

+
CLEANUP.__:AddForCleanUp(CleanUpUnit, CleanUpUnitName)

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

+
CLEANUP.__.Airbases +