diff --git a/Documentation/AI.AI_A2A_Dispatcher.html b/Documentation/AI.AI_A2A_Dispatcher.html index 889e61ab1..ffca7ef07 100644 --- a/Documentation/AI.AI_A2A_Dispatcher.html +++ b/Documentation/AI.AI_A2A_Dispatcher.html @@ -5034,11 +5034,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
@@ -11698,11 +11701,14 @@ They will lock the parking spot.

- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
@@ -12960,11 +12966,14 @@ They will lock the parking spot.

- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
@@ -14524,11 +14533,14 @@ They will lock the parking spot.

- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
diff --git a/Documentation/AI.AI_A2G_Dispatcher.html b/Documentation/AI.AI_A2G_Dispatcher.html index ff7be6c3e..d89f6a8dc 100644 --- a/Documentation/AI.AI_A2G_Dispatcher.html +++ b/Documentation/AI.AI_A2G_Dispatcher.html @@ -5020,14 +5020,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -13574,14 +13571,11 @@ multiplied by the Overhead and rounded up to the smallest integer.

- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -14903,14 +14897,11 @@ multiplied by the Overhead and rounded up to the smallest integer.

- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -16534,14 +16525,11 @@ multiplied by the Overhead and rounded up to the smallest integer.

- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
diff --git a/Documentation/AI.AI_Air.html b/Documentation/AI.AI_Air.html index dfd21d57b..b6a037738 100644 --- a/Documentation/AI.AI_Air.html +++ b/Documentation/AI.AI_Air.html @@ -2402,28 +2402,6 @@ Therefore, this class is considered to be deprecated

- - - -
-
- - #number -AI_AIR.RTBSpeedMaxFactor - - - -
- -
-
-
- - #number -AI_AIR.RTBSpeedMinFactor - - -
diff --git a/Documentation/AI.AI_Air_Squadron.html b/Documentation/AI.AI_Air_Squadron.html index d43baa1e9..3c90988a5 100644 --- a/Documentation/AI.AI_Air_Squadron.html +++ b/Documentation/AI.AI_Air_Squadron.html @@ -2131,6 +2131,17 @@ Therefore, this class is considered to be deprecated

+ + + +
+
+ + +AI_AIR_SQUADRON.ResourceCount + + +
diff --git a/Documentation/AI.AI_Cargo.html b/Documentation/AI.AI_Cargo.html index aca1dc35c..396b16ef9 100644 --- a/Documentation/AI.AI_Cargo.html +++ b/Documentation/AI.AI_Cargo.html @@ -1973,7 +1973,7 @@ Therefore, this class is considered to be deprecated

- + Wrapper.Group#GROUP AI_CARGO.CargoCarrier @@ -2011,9 +2011,6 @@ Therefore, this class is considered to be deprecated

- -

No loading happened, so we need to pickup something else.

-
diff --git a/Documentation/AI.AI_Cargo_Airplane.html b/Documentation/AI.AI_Cargo_Airplane.html index 283192853..9d3fd8945 100644 --- a/Documentation/AI.AI_Cargo_Airplane.html +++ b/Documentation/AI.AI_Cargo_Airplane.html @@ -2960,9 +2960,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Aircraft is on a pickup mission.

- @@ -4736,9 +4733,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Aircraft is on a pickup mission.

- @@ -5354,9 +5348,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Aircraft is on a pickup mission.

- @@ -6860,9 +6851,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Aircraft is on a pickup mission.

- diff --git a/Documentation/AI.AI_Cargo_Helicopter.html b/Documentation/AI.AI_Cargo_Helicopter.html index 8935ade0a..b7a7efadc 100644 --- a/Documentation/AI.AI_Cargo_Helicopter.html +++ b/Documentation/AI.AI_Cargo_Helicopter.html @@ -3070,22 +3070,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number AI_CARGO_HELICOPTER.landingheight + +

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

+
@@ -4988,22 +4994,28 @@ Adjust if necessary.
- + #number AI_CARGO_HELICOPTER.landingheight + +

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

+
@@ -5658,22 +5670,28 @@ Adjust if necessary.
- + #number AI_CARGO_HELICOPTER.landingheight + +

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

+
@@ -7216,22 +7234,28 @@ Adjust if necessary.
- + #number AI_CARGO_HELICOPTER.landingheight + +

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

+
diff --git a/Documentation/Cargo.CargoCrate.html b/Documentation/Cargo.CargoCrate.html index 67b8b830f..b40cd392a 100644 --- a/Documentation/Cargo.CargoCrate.html +++ b/Documentation/Cargo.CargoCrate.html @@ -1965,6 +1965,17 @@ Therefore, this class is considered to be deprecated

Field(s)

+
+
+ + +CARGO_CRATE.CargoCarrier + + + +
+ +
@@ -2633,6 +2644,17 @@ Therefore, this class is considered to be deprecated

Field(s)

+
+ + +
diff --git a/Documentation/Cargo.CargoGroup.html b/Documentation/Cargo.CargoGroup.html index c8caba52a..fc4d80b04 100644 --- a/Documentation/Cargo.CargoGroup.html +++ b/Documentation/Cargo.CargoGroup.html @@ -2016,20 +2016,6 @@ Therefore, this class is considered to be deprecated

-CARGO_GROUP.CargoCarrier - - - - -

self.CargoObject:Destroy()

- -
- -
-
-
- - CARGO_GROUP.CargoGroup @@ -2045,6 +2031,20 @@ Therefore, this class is considered to be deprecated

+
+ +
+
+
+ + +CARGO_GROUP.CargoObject + + + + +

Now we spawn the new group based on the template created.

+
diff --git a/Documentation/Cargo.CargoUnit.html b/Documentation/Cargo.CargoUnit.html index 4dc712074..f7f7ebf65 100644 --- a/Documentation/Cargo.CargoUnit.html +++ b/Documentation/Cargo.CargoUnit.html @@ -1943,6 +1943,17 @@ Therefore, this class is considered to be deprecated

Set cargo object.

+
+ +
+
+
+ + #number +CARGO_UNIT.RunCount + + +
@@ -2658,6 +2669,17 @@ Therefore, this class is considered to be deprecated

Set cargo object.

+
+ + +
+
+ + #number +CARGO_UNIT.RunCount + + +
diff --git a/Documentation/Core.Point.html b/Documentation/Core.Point.html index 0f4dd018a..125a2d844 100644 --- a/Documentation/Core.Point.html +++ b/Documentation/Core.Point.html @@ -17338,6 +17338,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + +POINT_VEC2.z + + +
diff --git a/Documentation/Core.Spawn.html b/Documentation/Core.Spawn.html index 1c6fa2f2e..3121251cd 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -3209,7 +3209,7 @@ and any spaces before and after the resulting name are removed.

-

SPAWN.uncontrolled

+

SPAWN.hidden

@@ -3862,11 +3862,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SPAWN.AIOnOff + +

The AI is on by default when spawning a group.

+
@@ -3947,6 +3950,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

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

+ @@ -4002,6 +4008,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #number +SPAWN.SpawnCount + + + + +

The internal counter of the amount of spawning the has happened since SpawnStart.

+
@@ -4170,17 +4190,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPAWN.SpawnInitFreq - - -
@@ -4247,9 +4256,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Overwrite unit names by default with group name.

- @@ -4261,16 +4267,8 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- -SPAWN.SpawnInitLivery - - +

By default, no InitLimit

@@ -4305,17 +4303,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- - -
-
- - -SPAWN.SpawnInitModu - - -
@@ -4327,32 +4314,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPAWN.SpawnInitSADL - - - - -

we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case - we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL

- -
- -
-
-
- - #string -SPAWN.SpawnInitSkill - - -
@@ -4384,7 +4345,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number SPAWN.SpawnMaxGroups @@ -4398,7 +4359,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number SPAWN.SpawnMaxUnitsAlive @@ -4555,6 +4516,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + #boolean +SPAWN.SpawnUnControlled + + +
@@ -4589,7 +4561,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

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.

@@ -4670,7 +4642,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.uncontrolled +SPAWN.hidden @@ -10284,11 +10256,14 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- + #boolean SPAWN.AIOnOff + +

The AI is on by default when spawning a group.

+
@@ -10369,6 +10344,9 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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

+
@@ -10424,6 +10402,20 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

+ + +
+
+ + #number +SPAWN.SpawnCount + + + + +

The internal counter of the amount of spawning the has happened since SpawnStart.

+
@@ -10592,17 +10584,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- - -
-
- - -SPAWN.SpawnInitFreq - - -
@@ -10669,9 +10650,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

Overwrite unit names by default with group name.

- @@ -10683,16 +10661,8 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- - -
-
- -SPAWN.SpawnInitLivery - - +

By default, no InitLimit

@@ -10727,17 +10697,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- -
-
-
- - -SPAWN.SpawnInitModu - - -
@@ -10749,32 +10708,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- - -
-
- - -SPAWN.SpawnInitSADL - - - - -

we arrived here seeing that self.SpawnInitSADL == nil, but now that we have a SADL (num), we also need to set it to self.SpawnInitSADL in case - we need to get the next SADL from _DATABASE, or else UTILS.OctalToDecimal() will fail in GetNextSADL

- -
- -
-
-
- - #string -SPAWN.SpawnInitSkill - - -
@@ -10806,7 +10739,7 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- + #number SPAWN.SpawnMaxGroups @@ -10820,7 +10753,7 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- + #number SPAWN.SpawnMaxUnitsAlive @@ -10977,6 +10910,17 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

+ +
+
+
+ + #boolean +SPAWN.SpawnUnControlled + + +
@@ -11011,7 +10955,7 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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.

@@ -11092,7 +11036,7 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

-SPAWN.uncontrolled +SPAWN.hidden diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index ff4e053b0..1aa5282b3 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -2138,6 +2138,24 @@ such as position and heading.

SPAWNSTATIC:_SpawnStatic(Template, CountryID)

Spawns a new static using a given template.

+ + + +

SPAWNSTATIC.heliport_callsign_id

+ + + + + +

SPAWNSTATIC.heliport_frequency

+ + + + + +

SPAWNSTATIC.heliport_modulation

+ + @@ -3123,11 +3141,44 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table SPAWNSTATIC.TemplateStaticUnit +
+ +
+
+
+ + +SPAWNSTATIC.heliport_callsign_id + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_frequency + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_modulation + + +
@@ -4735,11 +4786,44 @@ Handy if you spawn from cargo statics which have resources already set.

- + #table SPAWNSTATIC.TemplateStaticUnit +
+ +
+
+
+ + +SPAWNSTATIC.heliport_callsign_id + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_frequency + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_modulation + + +
diff --git a/Documentation/Core.Zone.html b/Documentation/Core.Zone.html index 6fb3963e9..629685d75 100644 --- a/Documentation/Core.Zone.html +++ b/Documentation/Core.Zone.html @@ -15908,17 +15908,6 @@ When moose is loading dynamically (for moose class development), tracing is swit
-ZONE_OVAL.Angle - - - -
- - -
-
- - #table ZONE_OVAL.CenterVec2 @@ -16623,17 +16612,6 @@ When moose is loading dynamically (for moose class development), tracing is swit
-ZONE_OVAL.Angle - - - -
- -
-
-
- - #table ZONE_OVAL.CenterVec2 @@ -18582,17 +18560,6 @@ end
-ZONE_OVAL.Angle - - - -
- -
-
-
- - #table ZONE_OVAL.CenterVec2 @@ -20093,17 +20060,6 @@ end
-ZONE_OVAL.Angle - - - -
- -
-
-
- - #table ZONE_OVAL.CenterVec2 diff --git a/Documentation/Functional.ATC_Ground.html b/Documentation/Functional.ATC_Ground.html index 94583881b..ef49af89d 100644 --- a/Documentation/Functional.ATC_Ground.html +++ b/Documentation/Functional.ATC_Ground.html @@ -4105,9 +4105,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Kickspeed

-
@@ -4693,9 +4690,6 @@ An airbase can be specified to set the maximum kick speed for.

- -

Kickspeed

-
diff --git a/Documentation/Functional.Designate.html b/Documentation/Functional.Designate.html index 6cca916ca..5362c47f3 100644 --- a/Documentation/Functional.Designate.html +++ b/Documentation/Functional.Designate.html @@ -2668,6 +2668,17 @@ Use the method DESIGNATE.SetMission() to +
+ + +
+
+ + +DESIGNATE.LaseDuration + + +
diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index e5b4c9302..73841888c 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -19993,17 +19993,6 @@ When moose is loading dynamically (for moose class development), tracing is swit - - - -
-
- - #number -DETECTION_BASE.DetectedItemCount - - -
@@ -20147,17 +20136,6 @@ When moose is loading dynamically (for moose class development), tracing is swit - - - -
-
- - #boolean -DETECTION_BASE.Locking - - -
@@ -24773,17 +24751,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #number -DETECTION_BASE.DetectedItemCount - - -
@@ -24927,17 +24894,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #boolean -DETECTION_BASE.Locking - - -
@@ -26548,17 +26504,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #number -DETECTION_BASE.DetectedItemCount - - -
@@ -26702,17 +26647,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #boolean -DETECTION_BASE.Locking - - -
diff --git a/Documentation/Functional.Mantis.html b/Documentation/Functional.Mantis.html index 1633d4075..6ea56522f 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -4126,17 +4126,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The #DETECTION_AREAS object for AWACS

- - - -
-
- - -MANTIS.AWACS_Prefix - - -
@@ -8807,17 +8796,6 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

The #DETECTION_AREAS object for AWACS

- - - -
-
- - -MANTIS.AWACS_Prefix - - -
diff --git a/Documentation/Functional.Movement.html b/Documentation/Functional.Movement.html index 0b34c21cc..09456d65e 100644 --- a/Documentation/Functional.Movement.html +++ b/Documentation/Functional.Movement.html @@ -2427,20 +2427,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

-
-
- - #number -MOVEMENT.AliveUnits - - - - -

Contains the counter how many units are currently alive.

- -
- -
@@ -2671,20 +2657,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

-
-
- - #number -MOVEMENT.AliveUnits - - - - -

Contains the counter how many units are currently alive.

- -
- -
diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index 8989c872e..2009a4b94 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -3573,12 +3573,6 @@ manager:Stop(7200)

RAT.termtype

Type of terminal to be used when spawning at an airbase.

- - - -

RAT.type

- - @@ -4765,7 +4759,7 @@ and any spaces before and after the resulting name are removed.

-

RAT.uncontrolled

+

RAT.hidden

@@ -7267,17 +7261,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Type of terminal to be used when spawning at an airbase.

-
- -
-
-
- - -RAT.type - - -
@@ -15158,17 +15141,6 @@ Initializes the ratcraft array and group menu.

Type of terminal to be used when spawning at an airbase.

-
- -
-
-
- - -RAT.type - - -
@@ -21975,17 +21947,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

Type of terminal to be used when spawning at an airbase.

- - - -
-
- - -RAT.type - - -
diff --git a/Documentation/Functional.Scoring.html b/Documentation/Functional.Scoring.html index 2913c7fff..6eb090a1e 100644 --- a/Documentation/Functional.Scoring.html +++ b/Documentation/Functional.Scoring.html @@ -3276,7 +3276,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.penaltyoncoalitionchange @@ -6210,7 +6210,7 @@ The scale magnifies the scores given to the players.

- + #boolean SCORING.penaltyoncoalitionchange diff --git a/Documentation/Ops.Airboss.html b/Documentation/Ops.Airboss.html index 7da05de6e..96f7ccc56 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -41296,7 +41296,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

Also decrease flag for section members of flight.

+

Decrease stack/flag. Human player needs to take care himself.

@@ -41323,17 +41323,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Data table at each position in the groove. Elements are of type AIRBOSS.GrooveData.

-
- -
-
-
- - #boolean -AIRBOSS.PlayerData.holding - - -
@@ -41469,6 +41458,9 @@ When moose is loading dynamically (for moose class development), tracing is swit + +

Set section lead of player flight.

+
@@ -41528,7 +41520,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

Set new time stamp.

+

Set time stamp.

diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index 3040aeba7..0126c0637 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -4529,7 +4529,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- Core.Point#COORDINATE + CSAR.coordinate @@ -10636,7 +10636,7 @@ callsigns from playername or group name.

- Core.Point#COORDINATE + CSAR.coordinate @@ -13144,7 +13144,7 @@ callsigns from playername or group name.

- Core.Point#COORDINATE + CSAR.coordinate diff --git a/Documentation/Ops.CTLD.html b/Documentation/Ops.CTLD.html index 2d34ece18..53ee04420 100644 --- a/Documentation/Ops.CTLD.html +++ b/Documentation/Ops.CTLD.html @@ -2254,101 +2254,55 @@ If you use units build by multiple templates, they will effectively double on lo
       my_ctld:AddCratesCargo("FARP",{"FOB"},CTLD_CARGO.Enum.FOB,2)
 
-

Also, you need to have all statics with the fitting names as per the script in your mission already, as we're going to copy them, and a template -for FARP vehicles, so -- services are goin to work (e.g. for the blue side: an unarmed humvee, two trucks and a fuel truck. Optionally add a fire fighter).

+

The following code will build a FARP at the coordinate the FOB was dropped and built (the UTILS function used below does not need a template for the statics):

-

The following code will build a FARP at the coordinate the FOB was dropped and built:

+
     -- FARP Radio. First one has 130AM name London, next 131 name Dallas, and so forth. 
+     local FARPFreq = 129
+     local FARPName = 1  --numbers 1..10
 
-
       -- FARP Radio. First one has 130AM, next 131 and for forth
-       local FARPFreq = 130
-       local FARPName = 1 -- numbers 1..10
+     local FARPClearnames = {
+       [1]="London",
+       [2]="Dallas",
+       [3]="Paris",
+       [4]="Moscow",
+       [5]="Berlin",
+       [6]="Rome",
+       [7]="Madrid",
+       [8]="Warsaw",
+       [9]="Dublin",
+       [10]="Perth",
+       }
 
-       local FARPClearnames = {
-         [1]="London",
-         [2]="Dallas",
-         [3]="Paris",
-         [4]="Moscow",
-         [5]="Berlin",
-         [6]="Rome",
-         [7]="Madrid",
-         [8]="Warsaw",
-         [9]="Dublin",
-         [10]="Perth",
-         }
+     function BuildAFARP(Coordinate)
+       local coord = Coordinate  --Core.Point#COORDINATE
 
-         function BuildAFARP(Coordinate)
-           local coord = Coordinate -- Core.Point#COORDINATE
+       local FarpNameNumber = ((FARPName-1)%10)+1 -- make sure 11 becomes 1 etc
+       local FName = FARPClearnames[FarpNameNumber] -- get clear namee
 
-           local FarpName = ((FARPName-1)%10)+1
-           local FName = FARPClearnames[FarpName]
+       FARPFreq = FARPFreq + 1
+       FARPName = FARPName + 1
 
-           FARPFreq = FARPFreq + 1
-           FARPName = FARPName + 1
+       FName = FName .. " FAT COW "..tostring(FARPFreq).."AM" -- make name unique
 
-           -- Create a SPAWNSTATIC object from a template static FARP object.
-           local SpawnStaticFarp=SPAWNSTATIC:NewFromStatic("Static Invisible FARP-1", country.id.USA)
+       -- Get a Zone for loading 
+       local ZoneSpawn = ZONE_RADIUS:New("FARP "..FName,Coordinate:GetVec2(),150,false)
 
-           -- Spawning FARPs is special in DCS. Therefore, we need to specify that this is a FARP. We also set the callsign and the frequency.
-           SpawnStaticFarp:InitFARP(FARPName, FARPFreq, 0)
-           SpawnStaticFarp:InitDead(false)
+       -- Spawn a FARP with our little helper and fill it up with resources (10t fuel each type, 10 pieces of each known equipment)
+       UTILS.SpawnFARPAndFunctionalStatics(FName,Coordinate,ENUMS.FARPType.INVISIBLE,my_ctld.coalition,country.id.USA,FarpNameNumber,FARPFreq,radio.modulation.AM,nil,nil,nil,10,10)
 
-           -- Spawn FARP 
-           local ZoneSpawn = ZONE_RADIUS:New("FARP "..FName,Coordinate:GetVec2(),160,false)
-           local Heading = 0
-           local FarpBerlin=SpawnStaticFarp:SpawnFromZone(ZoneSpawn, Heading, "FARP "..FName)
+       -- add a loadzone to CTLD
+       my_ctld:AddCTLDZone("FARP "..FName,CTLD.CargoZoneType.LOAD,SMOKECOLOR.Blue,true,true)
+       local m  = MESSAGE:New(string.format("FARP %s in operation!",FName),15,"CTLD"):ToBlue() 
+     end
 
-           -- ATC and services - put them 125m from the center of the zone towards North
-           local FarpVehicles = SPAWN:NewWithAlias("FARP Vehicles Template","FARP "..FName.." Technicals")
-           FarpVehicles:InitHeading(180)
-           local FarpVCoord = coord:Translate(125,0)
-           FarpVehicles:SpawnFromCoordinate(FarpVCoord)
-
-           -- We will put the rest of the statics in a nice circle around the center
-           local base = 330
-           local delta = 30
-
-           local windsock = SPAWNSTATIC:NewFromStatic("Static Windsock-1",country.id.USA)
-           local sockcoord = coord:Translate(125,base)
-           windsock:SpawnFromCoordinate(sockcoord,Heading,"Windsock "..FName)
-           base=base-delta
-
-           local fueldepot = SPAWNSTATIC:NewFromStatic("Static FARP Fuel Depot-1",country.id.USA)
-           local fuelcoord = coord:Translate(125,base)
-           fueldepot:SpawnFromCoordinate(fuelcoord,Heading,"Fueldepot "..FName)
-           base=base-delta
-
-           local ammodepot = SPAWNSTATIC:NewFromStatic("Static FARP Ammo Storage-2-1",country.id.USA)
-           local ammocoord = coord:Translate(125,base)
-           ammodepot:SpawnFromCoordinate(ammocoord,Heading,"Ammodepot "..FName)
-           base=base-delta
-
-           local CommandPost = SPAWNSTATIC:NewFromStatic("Static FARP Command Post-1",country.id.USA)
-           local CommandCoord = coord:Translate(125,base)
-           CommandPost:SpawnFromCoordinate(CommandCoord,Heading,"Command Post "..FName)
-           base=base-delta
-
-           local Tent1 = SPAWNSTATIC:NewFromStatic("Static FARP Tent-11",country.id.USA)
-           local Tent1Coord = coord:Translate(125,base)
-           Tent1:SpawnFromCoordinate(Tent1Coord,Heading,"Command Tent "..FName)
-           base=base-delta
-
-           local Tent2 = SPAWNSTATIC:NewFromStatic("Static FARP Tent-11",country.id.USA)
-           local Tent2Coord = coord:Translate(125,base)
-           Tent2:SpawnFromCoordinate(Tent2Coord,Heading,"Command Tent2 "..FName)
-
-           -- add a loadzone to CTLD
-           my_ctld:AddCTLDZone("FARP "..FName,CTLD.CargoZoneType.LOAD,SMOKECOLOR.Blue,true,true)
-           local m  = MESSAGE:New(string.format("FARP %s in operation!",FName),15,"CTLD"):ToBlue() 
-         end
-
-         function my_ctld:OnAfterCratesBuild(From,Event,To,Group,Unit,Vehicle)
-           local name = Vehicle:GetName()
-           if string.match(name,"FOB",1,true) then
-             local Coord = Vehicle:GetCoordinate()
-             Vehicle:Destroy(false)
-             BuildAFARP(Coord) 
-           end
-         end
+     function my_ctld:OnAfterCratesBuild(From,Event,To,Group,Unit,Vehicle)
+       local name = Vehicle:GetName()
+       if string.find(name,"FOB",1,true) then
+         local Coord = Vehicle:GetCoordinate()
+         Vehicle:Destroy(false)
+         BuildAFARP(Coord) 
+       end
+     end
 
@@ -2451,13 +2405,13 @@ for FARP vehicles, so -- services are goin to work (e.g. for the blue side: an u -

CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)

+

CTLD:AddCratesCargo(Name, Templates, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)

User function - Add generic crate-type loadable as cargo.

-

CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location)

+

CTLD:AddCratesRepair(Name, Template, Type, NoCrates, PerCrateMass, Stock, SubCategory, DontShowInMenu, Location, UnitTypes, TypeName, ShapeName)

User function - Add generic repair crates loadable as cargo.

@@ -5143,6 +5097,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

CTLD_CARGO:AddStock(Number)

Add Stock.

+ + + +

CTLD_CARGO:AddUnitTypeName(UnitTypes)

+ +

Add specific unit types to this CARGO (restrict what types can pick this up).

@@ -5365,6 +5325,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

CTLD_CARGO:SetStaticResourceMap(ResourceMap)

Add Resource Map information table

+ + + +

CTLD_CARGO:SetStaticTypeAndShape(TypeName, ShapeName)

+ +

Add specific static type and shape to this CARGO.

@@ -5377,6 +5343,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

CTLD_CARGO:SetWasDropped(dropped)

Set WasDropped.

+ + + +

CTLD_CARGO.StaticShape

+ +

Individual shape if set.

+ + + +

CTLD_CARGO.StaticType

+ +

Individual type if set.

@@ -5395,6 +5373,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

CTLD_CARGO.Templates

Table of #POSITIONABLE objects.

+ + + +

CTLD_CARGO.TypeNames

+ +

Table of unit types able to pick this cargo up.

@@ -8273,9 +8257,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Beacons

-
@@ -8360,14 +8341,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.PilotGroups - -

tables

-
@@ -8396,11 +8374,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + CTLD.RadioPath + +

Folderpath.

+
@@ -8912,7 +8893,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

noob catch

+

time to repairor build a unit/group

@@ -9370,7 +9351,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+
+
+

+ #string + UnitTypes +

+
+
+ +

Unit type names (optional). If set, only these unit types can pick up the cargo, e.g. "UH-1H" or {"UH-1H","OH-58D"}

+ +
+
+
+
+

+ #string + TypeName +

+
+
+ +

Static type name (optional). If set, spawn cargo crate with an alternate type shape.

+ +
+
+
+
+

+ #string + ShapeName +

+
+
+ +

Static shape name (optional). If set, spawn cargo crate with an alternate type sub-shape.

+ +
+
+

Return value:

+
+
+

#CTLD:

+
+
+ +

self

+ +
+
@@ -9510,7 +9541,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

User function - Add generic repair crates loadable as cargo.

@@ -9642,6 +9673,56 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+
+
+

+ #string + UnitTypes +

+
+
+ +

Unit type names (optional). If set, only these unit types can pick up the cargo, e.g. "UH-1H" or {"UH-1H","OH-58D"}

+ +
+
+
+
+

+ #string + TypeName +

+
+
+ +

Static type name (optional). If set, spawn cargo crate with an alternate type shape.

+ +
+
+
+
+

+ #string + ShapeName +

+
+
+ +

Static shape name (optional). If set, spawn cargo crate with an alternate type sub-shape.

+ +
+
+

Return value:

+
+
+

#CTLD:

+
+
+ +

self

+ +
+
@@ -18794,9 +18875,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

Beacons

- @@ -18881,14 +18959,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.PilotGroups - -

tables

-
@@ -18917,11 +18992,14 @@ However, if you create a new folder inside the miz file, which contains the soun
- #string + CTLD.RadioPath + +

Folderpath.

+
@@ -19433,7 +19511,7 @@ However, if you create a new folder inside the miz file, which contains the soun -

noob catch

+

time to repairor build a unit/group

@@ -21228,9 +21306,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

Beacons

- @@ -21315,14 +21390,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.PilotGroups - -

tables

-
@@ -21351,11 +21423,14 @@ However, if you create a new folder inside the miz file, which contains the soun
- #string + CTLD.RadioPath + +

Folderpath.

+
@@ -21867,7 +21942,7 @@ However, if you create a new folder inside the miz file, which contains the soun -

noob catch

+

time to repairor build a unit/group

@@ -26342,17 +26417,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Can transport crate.

- - - -
-
@@ -26607,6 +26671,28 @@ When moose is loading dynamically (for moose class development), tracing is swit + +
+
+ + #string +CTLD_CARGO.StaticShape + +

Individual shape if set.

+ +
+ +
+
+
+ + #string +CTLD_CARGO.StaticType + +

Individual type if set.

+ +
+
@@ -26640,6 +26726,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
+
+
+
+ + #list<#string> +CTLD_CARGO.TypeNames + +

Table of unit types able to pick this cargo up.

+ +
+

Function(s)

@@ -26726,6 +26823,50 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +
+ + + +

Add specific unit types to this CARGO (restrict what types can pick this up).

+ +
+
+

Defined in:

+
+

CTLD_CARGO

+
+

Parameter:

+
+
+

+ #string + UnitTypes +

+
+
+ +

Unit type name, can also be a #list<#string> table of unit type names.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+
+
@@ -27600,6 +27741,59 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+ + + +

Add specific static type and shape to this CARGO.

+ +
+
+

Defined in:

+
+

CTLD_CARGO

+
+

Parameters:

+
+
+

+ #string + TypeName +

+
+
+

+
+
+
+
+

+ #string + ShapeName +

+
+
+

+
+
+

Return value:

+
+ +
+ +

self

+ +
+
+
+
@@ -27894,6 +28088,28 @@ When moose is loading dynamically (for moose class development), tracing is swit + +
+
+ + #string +CTLD_CARGO.StaticShape + +

Individual shape if set.

+ +
+ +
+
+
+ + #string +CTLD_CARGO.StaticType + +

Individual type if set.

+ +
+
@@ -27927,6 +28143,17 @@ When moose is loading dynamically (for moose class development), tracing is swit
+
+
+
+ + #list<#string> +CTLD_CARGO.TypeNames + +

Table of unit types able to pick this cargo up.

+ +
+

Function(s)

@@ -36326,6 +36553,17 @@ When moose is loading dynamically (for moose class development), tracing is swit

template for a group of 10 paratroopers

+
+ + +
+
+ + #number +CTLD_HERCULES.j + + +
@@ -37652,6 +37890,17 @@ Use either this method to integrate the Hercules **or** the one from the "normal

template for a group of 10 paratroopers

+ + + +
+
+ + #number +CTLD_HERCULES.j + + +
diff --git a/Documentation/Tasking.Task.html b/Documentation/Tasking.Task.html index 097318923..dd6d68c3a 100644 --- a/Documentation/Tasking.Task.html +++ b/Documentation/Tasking.Task.html @@ -3043,17 +3043,6 @@ but can separately be modified later in your mission using the - - - -
-
@@ -7690,17 +7679,6 @@ If the Unit is part of the Task, true is returned.

- - - -
-
diff --git a/Documentation/Tasking.Task_A2G_Dispatcher.html b/Documentation/Tasking.Task_A2G_Dispatcher.html index 697a76b6a..330ac5aa0 100644 --- a/Documentation/Tasking.Task_A2G_Dispatcher.html +++ b/Documentation/Tasking.Task_A2G_Dispatcher.html @@ -3368,11 +3368,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean TASK_A2G_DISPATCHER.FlashNewTask + +

set to false to suppress flash messages

+
@@ -3945,11 +3948,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean TASK_A2G_DISPATCHER.FlashNewTask + +

set to false to suppress flash messages

+
@@ -5132,11 +5138,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean TASK_A2G_DISPATCHER.FlashNewTask + +

set to false to suppress flash messages

+
@@ -6621,11 +6630,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean TASK_A2G_DISPATCHER.FlashNewTask + +

set to false to suppress flash messages

+
diff --git a/Documentation/Tasking.Task_CARGO.html b/Documentation/Tasking.Task_CARGO.html index a1d464001..6d8d78d6c 100644 --- a/Documentation/Tasking.Task_CARGO.html +++ b/Documentation/Tasking.Task_CARGO.html @@ -3335,7 +3335,7 @@ based on the tasking capabilities defined in
- + Cargo.Cargo#CARGO FSM_PROCESS.Cargo diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index 6aad85f82..7eea845f2 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -3467,6 +3467,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Stack by pointer.

+
+ + +
+
+ + #number +FIFO.uniquecounter + + +
@@ -4316,6 +4327,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Stack by pointer.

+ + + +
+
+ + #number +FIFO.uniquecounter + + +
@@ -8118,6 +8140,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +LIFO.uniquecounter + + +
@@ -8967,6 +9000,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +LIFO.uniquecounter + + +
diff --git a/Documentation/Wrapper.Group.html b/Documentation/Wrapper.Group.html index f01761e04..f56b05e5e 100644 --- a/Documentation/Wrapper.Group.html +++ b/Documentation/Wrapper.Group.html @@ -5522,18 +5522,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-GROUP.InitRespawnRandomizePositionInner - - - -
- - -
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -10347,18 +10336,7 @@ So each unit of the group is respawned at exactly the same parking spot as it cu - -
-
- -
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -27375,18 +27342,7 @@ Coordinates are dependent on the position of the maps origin.

- -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -28041,18 +27997,7 @@ If the Identifiable is alive, true is returned.

- -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -28308,18 +28253,7 @@ If the Identifiable is alive, true is returned.

- -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone diff --git a/Documentation/Wrapper.Positionable.html b/Documentation/Wrapper.Positionable.html index dedf514da..2f00303c3 100644 --- a/Documentation/Wrapper.Positionable.html +++ b/Documentation/Wrapper.Positionable.html @@ -3945,6 +3945,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+ @@ -7979,6 +7990,17 @@ Coordinates are dependent on the position of the maps origin.

+
+ +
+
+
@@ -8565,6 +8587,17 @@ If the Identifiable is alive, true is returned.

+
+ +
+
+
@@ -8752,6 +8785,17 @@ If the Identifiable is alive, true is returned.

+
+ + +
+
+ + Core.Spot#SPOT +POSITIONABLE.Spot + + +