diff --git a/Moose Development/Moose/Functional/ZoneCaptureCoalition.lua b/Moose Development/Moose/Functional/ZoneCaptureCoalition.lua index d99c4c1c0..588a6c32a 100644 --- a/Moose Development/Moose/Functional/ZoneCaptureCoalition.lua +++ b/Moose Development/Moose/Functional/ZoneCaptureCoalition.lua @@ -58,6 +58,13 @@ do -- ZoneGoal -- @param Core.Zone#ZONE Zone A @{Zone} object with the goal to be achieved. -- @param DCSCoalition.DCSCoalition#coalition Coalition The initial coalition owning the zone. -- @return #ZONE_CAPTURE_COALITION + -- @usage + -- + -- AttackZone = ZONE:New( "AttackZone" ) + -- + -- ZoneCaptureCoalition = ZONE_CAPTURE_COALITION:New( AttackZone, coalition.side.RED ) -- Create a new ZONE_CAPTURE_COALITION object of zone AttackZone with ownership RED coalition. + -- ZoneCaptureCoalition:__Guard( 1 ) -- Start the Guarding of the AttackZone. + -- function ZONE_CAPTURE_COALITION:New( Zone, Coalition ) local self = BASE:Inherit( self, ZONE_GOAL_COALITION:New( Zone, Coalition ) ) -- #ZONE_CAPTURE_COALITION @@ -247,6 +254,10 @@ do -- ZoneGoal -- @param #ZONE_CAPTURE_COALITION self -- @param #number Delay + if not self.ScheduleStatusZone then + self.ScheduleStatusZone = self:ScheduleRepeat( 15, 15, 0.1, nil, self.StatusZone, self ) + end + return self end @@ -370,9 +381,6 @@ do -- ZoneGoal if not self.SmokeScheduler then self.SmokeScheduler = self:ScheduleRepeat( 1, 1, 0.1, nil, self.StatusSmoke, self ) end - if not self.ScheduleStatusZone then - self.ScheduleStatusZone = self:ScheduleRepeat( 15, 15, 0.1, nil, self.StatusZone, self ) - end end diff --git a/docs/Documentation/AI_A2A.html b/docs/Documentation/AI_A2A.html index c60cde5a3..5849fab1f 100644 --- a/docs/Documentation/AI_A2A.html +++ b/docs/Documentation/AI_A2A.html @@ -672,6 +672,7 @@
+ #number AI_A2A.IdleCount diff --git a/docs/Documentation/Cargo.html b/docs/Documentation/Cargo.html index 24cc7973c..7f628be39 100644 --- a/docs/Documentation/Cargo.html +++ b/docs/Documentation/Cargo.html @@ -2270,7 +2270,6 @@ The amount of seconds to delay the action.

- CARGO_CRATE.CargoCarrier @@ -3806,6 +3805,7 @@ The range till cargo will board.

+ #number CARGO_UNIT.RunCount diff --git a/docs/Documentation/Designate.html b/docs/Documentation/Designate.html index f300b7ef9..d11296b29 100644 --- a/docs/Documentation/Designate.html +++ b/docs/Documentation/Designate.html @@ -1107,7 +1107,7 @@ function below will use the range 1-7 just in case

- + #number DESIGNATE.LaseDuration @@ -1161,7 +1161,6 @@ function below will use the range 1-7 just in case

- DESIGNATE.LaserCodes diff --git a/docs/Documentation/Detection.html b/docs/Documentation/Detection.html index c98a2e46c..8d7c02982 100644 --- a/docs/Documentation/Detection.html +++ b/docs/Documentation/Detection.html @@ -4062,7 +4062,7 @@ Return false to cancel Transition.

- + #number DETECTION_BASE.RefreshTimeInterval diff --git a/docs/Documentation/Fsm.html b/docs/Documentation/Fsm.html index 6263b0650..de2949f53 100644 --- a/docs/Documentation/Fsm.html +++ b/docs/Documentation/Fsm.html @@ -1609,7 +1609,7 @@ A string defining the start state.

- + #string FSM._StartState @@ -1908,7 +1908,6 @@ A string defining the start state.

- FSM.current diff --git a/docs/Documentation/Movement.html b/docs/Documentation/Movement.html index 32b0acb34..c3c16e25c 100644 --- a/docs/Documentation/Movement.html +++ b/docs/Documentation/Movement.html @@ -238,6 +238,7 @@ on defined intervals (currently every minute).

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

+ +

Contains the counter how many units are currently alive

+
diff --git a/docs/Documentation/Point.html b/docs/Documentation/Point.html index c08621bf2..71741434e 100644 --- a/docs/Documentation/Point.html +++ b/docs/Documentation/Point.html @@ -3496,6 +3496,7 @@ The y coordinate.

+ POINT_VEC2.z diff --git a/docs/Documentation/Rat.html b/docs/Documentation/Rat.html index 5d974235f..7f597274e 100644 --- a/docs/Documentation/Rat.html +++ b/docs/Documentation/Rat.html @@ -1363,18 +1363,6 @@ RAT.wp

RAT waypoint type.

- - - - RAT.wp_final - -

Index of the final waypoint.

- - - - RAT.wp_holding - -

Index of the holding waypoint.

@@ -5659,34 +5647,6 @@ True if zone exsits, false otherwise.

RAT waypoint type.

- -
-
-
- - #number - -RAT.wp_final - -
-
- -

Index of the final waypoint.

- -
-
-
-
- - #number - -RAT.wp_holding - -
-
- -

Index of the holding waypoint.

-
diff --git a/docs/Documentation/Settings.html b/docs/Documentation/Settings.html index 7558ad0f0..6ecb40ac1 100644 --- a/docs/Documentation/Settings.html +++ b/docs/Documentation/Settings.html @@ -1251,7 +1251,7 @@ true if metric.

- #boolean + SETTINGS.Metric diff --git a/docs/Documentation/Spawn.html b/docs/Documentation/Spawn.html index 2739d160f..610cc27d5 100644 --- a/docs/Documentation/Spawn.html +++ b/docs/Documentation/Spawn.html @@ -849,12 +849,6 @@ and any spaces before and after the resulting name are removed.

SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle) - - - - SPAWN.uncontrolled - - @@ -3387,7 +3381,7 @@ Spawn_BE_KA50 = SPAWN:New( 'BE KA-50@RAMP-Ground Defense' ):Schedule( 600, 0.5 )
- + #boolean SPAWN.SpawnUnControlled @@ -3991,20 +3985,6 @@ True = Continue Scheduler

- -
-
-
- - - -SPAWN.uncontrolled - -
-
- - -
diff --git a/docs/Documentation/Spot.html b/docs/Documentation/Spot.html index ff1b042ec..3978fd2d6 100644 --- a/docs/Documentation/Spot.html +++ b/docs/Documentation/Spot.html @@ -776,7 +776,6 @@ true if it is lasing

- SPOT.ScheduleID @@ -790,7 +789,6 @@ true if it is lasing

- SPOT.SpotIR @@ -804,7 +802,6 @@ true if it is lasing

- SPOT.SpotLaser @@ -818,7 +815,6 @@ true if it is lasing

- SPOT.Target diff --git a/docs/Documentation/Task_Cargo.html b/docs/Documentation/Task_Cargo.html index 27269baa2..532a155cb 100644 --- a/docs/Documentation/Task_Cargo.html +++ b/docs/Documentation/Task_Cargo.html @@ -563,7 +563,7 @@ based on the tasking capabilities defined in Task#TA
- + Core.Cargo#CARGO_GROUP FSM_PROCESS.Cargo @@ -577,6 +577,7 @@ based on the tasking capabilities defined in Task#TA
+ FSM_PROCESS.DeployZone diff --git a/docs/Documentation/ZoneCaptureCoalition.html b/docs/Documentation/ZoneCaptureCoalition.html index 20c24e743..df2c4377e 100644 --- a/docs/Documentation/ZoneCaptureCoalition.html +++ b/docs/Documentation/ZoneCaptureCoalition.html @@ -573,6 +573,14 @@ The initial coalition owning the zone.

#ZONECAPTURECOALITION:

+

Usage:

+

+ AttackZone = ZONE:New( "AttackZone" )
+
+ ZoneCaptureCoalition = ZONE_CAPTURE_COALITION:New( AttackZone, coalition.side.RED ) -- Create a new ZONE_CAPTURE_COALITION object of zone AttackZone with ownership RED coalition.
+ ZoneCaptureCoalition:__Guard( 1 ) -- Start the Guarding of the AttackZone.
+ 
+
diff --git a/docs/README.md b/docs/README.md index 8fa3218bf..3cc335f97 100644 --- a/docs/README.md +++ b/docs/README.md @@ -123,6 +123,9 @@ MOOSE Functional Classes provide various functions that are useful in mission de * [ATC_GROUND](Documentation/ATC_Ground.html#ATC_GROUND_NEVADA): ATC Ground operations for Nevada. * [ATC_GROUND](Documentation/ATC_Ground.html#ATC_GROUND_NORMANDY): ATC Ground operations for Normandy. +* [ZONE\_CAPTURE\_COALITION](Documentation/ZoneCaptureCoalition.html): Create a zone capturing process around a zone! Zones can be guarded, attacked, empty or captured. + + ## 2.4. MOOSE Wrapper Classes MOOSE Wrapper Classes provide an object oriented hierarchical mechanism to manage the DCS objects within the simulator.