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

Flash messages to player

+
@@ -11540,11 +11543,14 @@ They will lock the parking spot.

- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
@@ -12802,11 +12808,14 @@ They will lock the parking spot.

- + #boolean AI_A2A_DISPATCHER.SetSendPlayerMessages + +

Flash messages to player

+
@@ -14366,11 +14375,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 0f54bf26a..60720110e 100644 --- a/Documentation/AI.AI_A2G_Dispatcher.html +++ b/Documentation/AI.AI_A2G_Dispatcher.html @@ -4756,17 +4756,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_A2G_DISPATCHER.DefenderPatrolIndex - - -
@@ -4889,14 +4878,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -13292,17 +13278,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_A2G_DISPATCHER.DefenderPatrolIndex - - -
@@ -13425,14 +13400,11 @@ multiplied by the Overhead and rounded up to the smallest integer.

- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -14634,17 +14606,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_A2G_DISPATCHER.DefenderPatrolIndex - - -
@@ -14767,14 +14728,11 @@ multiplied by the Overhead and rounded up to the smallest integer.

- #boolean + AI_A2G_DISPATCHER.SetSendPlayerMessages - -

flash messages to players

-
@@ -16278,17 +16236,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_A2G_DISPATCHER.DefenderPatrolIndex - - -
@@ -16411,14 +16358,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 860570187..24807f361 100644 --- a/Documentation/AI.AI_Air.html +++ b/Documentation/AI.AI_Air.html @@ -3177,6 +3177,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -5983,6 +6005,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -6708,6 +6752,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -8321,6 +8387,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
diff --git a/Documentation/AI.AI_Air_Dispatcher.html b/Documentation/AI.AI_Air_Dispatcher.html index 16ab626f0..e5f79260b 100644 --- a/Documentation/AI.AI_Air_Dispatcher.html +++ b/Documentation/AI.AI_Air_Dispatcher.html @@ -4516,17 +4516,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_AIR_DISPATCHER.DefenderPatrolIndex - - -
@@ -9824,17 +9813,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_AIR_DISPATCHER.DefenderPatrolIndex - - -
@@ -11152,17 +11130,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_AIR_DISPATCHER.DefenderPatrolIndex - - -
@@ -12782,17 +12749,6 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

- - - -
-
- - #number -AI_AIR_DISPATCHER.DefenderPatrolIndex - - -
diff --git a/Documentation/AI.AI_Cargo.html b/Documentation/AI.AI_Cargo.html index ad13105cf..d16464184 100644 --- a/Documentation/AI.AI_Cargo.html +++ b/Documentation/AI.AI_Cargo.html @@ -2759,7 +2759,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + Wrapper.Group#GROUP AI_CARGO.CargoCarrier @@ -2797,6 +2797,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

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

+
@@ -4789,7 +4792,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + Wrapper.Group#GROUP AI_CARGO.CargoCarrier @@ -4827,6 +4830,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

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

+
@@ -5401,7 +5407,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + Wrapper.Group#GROUP AI_CARGO.CargoCarrier @@ -5439,6 +5445,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

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

+
@@ -6901,7 +6910,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + Wrapper.Group#GROUP AI_CARGO.CargoCarrier @@ -6939,6 +6948,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

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 4d6980a95..43dc65147 100644 --- a/Documentation/AI.AI_Cargo_Airplane.html +++ b/Documentation/AI.AI_Cargo_Airplane.html @@ -2801,6 +2801,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

Aircraft is on a pickup mission.

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

Aircraft is on a pickup mission.

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

Aircraft is on a pickup mission.

+ @@ -6692,6 +6701,9 @@ 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 1088c9eae..dcf9819bc 100644 --- a/Documentation/AI.AI_Cargo_Helicopter.html +++ b/Documentation/AI.AI_Cargo_Helicopter.html @@ -2911,28 +2911,22 @@ 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

-
@@ -4835,28 +4829,22 @@ Adjust if necessary.
- #number + AI_CARGO_HELICOPTER.landingheight - -

meter

-
- #number + AI_CARGO_HELICOPTER.landingspeed - -

kph

-
@@ -5511,28 +5499,22 @@ Adjust if necessary.
- #number + AI_CARGO_HELICOPTER.landingheight - -

meter

-
- #number + AI_CARGO_HELICOPTER.landingspeed - -

kph

-
@@ -7075,28 +7057,22 @@ Adjust if necessary.
- #number + AI_CARGO_HELICOPTER.landingheight - -

meter

-
- #number + AI_CARGO_HELICOPTER.landingspeed - -

kph

-
diff --git a/Documentation/Cargo.CargoGroup.html b/Documentation/Cargo.CargoGroup.html index 5f4414a47..e93ddd11c 100644 --- a/Documentation/Cargo.CargoGroup.html +++ b/Documentation/Cargo.CargoGroup.html @@ -1956,20 +1956,6 @@ Therefore, this class is considered to be deprecated

- - - -
-
- - -CARGO_GROUP.CargoObject - - - - -

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

-
@@ -3277,20 +3263,6 @@ This works for ground only groups.

- - - -
-
- - -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 6907ca09f..0fec1ae3d 100644 --- a/Documentation/Cargo.CargoUnit.html +++ b/Documentation/Cargo.CargoUnit.html @@ -1834,17 +1834,6 @@ Therefore, this class is considered to be deprecated

Set cargo object.

- - - -
-
- - #number -CARGO_UNIT.RunCount - - -
@@ -2549,17 +2538,6 @@ 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 70065198e..953b1cb87 100644 --- a/Documentation/Core.Point.html +++ b/Documentation/Core.Point.html @@ -2152,13 +2152,13 @@ Note that the Set and Add methods return the current POINT_VEC3 object, so these

COORDINATE:GetAngleDegrees(DirectionVec3)

-

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

COORDINATE:GetAngleRadians(DirectionVec3)

-

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

@@ -2177,6 +2177,12 @@ Note that the Set and Add methods return the current POINT_VEC3 object, so these

COORDINATE:GetBearingText(AngleRadians, Precision, Settings, MagVar)

Provides a bearing text in degrees.

+ + + +

COORDINATE.GetBullseyeCoordinate(Coalition)

+ +

Return the BULLSEYE as COORDINATE Object

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

POINT_VEC2:GetAngleDegrees(DirectionVec3)

-

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

POINT_VEC2:GetAngleRadians(DirectionVec3)

-

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

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

POINT_VEC2:GetBearingText(AngleRadians, Precision, Settings, MagVar)

Provides a bearing text in degrees.

+ + + +

POINT_VEC2.GetBullseyeCoordinate(Coalition)

+ +

Return the BULLSEYE as COORDINATE Object

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

COORDINATE:GetAngleDegrees(DirectionVec3)

-

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

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

Usage:

+
        local directionAngle = currentCoordinate:GetAngleDegrees(currentCoordinate:GetDirectionVec3(sourceCoordinate:GetVec3()))
+ @@ -6952,7 +6967,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

COORDINATE:GetAngleRadians(DirectionVec3)

-

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

@@ -7256,6 +7271,54 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+ + + +
+ +
+

COORDINATE.GetBullseyeCoordinate(Coalition)

+
+ +

Return the BULLSEYE as COORDINATE Object

+ +
+
+

Defined in:

+
+

COORDINATE

+
+

Parameter:

+
+
+

+ #number + Coalition +

+
+
+ +

Coalition of the bulls eye to return, e.g. coalition.side.BLUE

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+

Usage:

+
         -- note the dot (.) here,not using the colon (:)
+         local redbulls = COORDINATE.GetBullseyeCoordinate(coalition.side.RED)
+ +
+
@@ -18148,6 +18211,17 @@ When moose is loading dynamically (for moose class development), tracing is swit

the y coordinate in meters.

+ + + +
+
+ + +POINT_VEC2.z + + +
@@ -18946,6 +19020,17 @@ When moose is loading dynamically (for moose class development), tracing is swit

the y coordinate in meters.

+ + + +
+
+ + +POINT_VEC2.z + + +
@@ -20241,7 +20326,7 @@ When moose is loading dynamically (for moose class development), tracing is swit

POINT_VEC2:GetAngleDegrees(DirectionVec3)

-

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in degrees from the COORDINATE using a direction vector in Vec3 format.

@@ -20274,6 +20359,9 @@ When moose is loading dynamically (for moose class development), tracing is swit
+

Usage:

+
        local directionAngle = currentCoordinate:GetAngleDegrees(currentCoordinate:GetDirectionVec3(sourceCoordinate:GetVec3()))
+ @@ -20285,7 +20373,7 @@ When moose is loading dynamically (for moose class development), tracing is swit

POINT_VEC2:GetAngleRadians(DirectionVec3)

-

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

+

Return an angle in radians from the COORDINATE using a direction vector in Vec3 format.

@@ -20589,6 +20677,54 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +
+ +
+

POINT_VEC2.GetBullseyeCoordinate(Coalition)

+
+ +

Return the BULLSEYE as COORDINATE Object

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + Coalition +

+
+
+ +

Coalition of the bulls eye to return, e.g. coalition.side.BLUE

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+

Usage:

+
         -- note the dot (.) here,not using the colon (:)
+         local redbulls = COORDINATE.GetBullseyeCoordinate(coalition.side.RED)
+ +
+
@@ -27769,6 +27905,17 @@ Creates a line on the F10 map from one point to another.

the y coordinate in meters.

+ + + +
+
+ + +POINT_VEC2.z + + +
diff --git a/Documentation/Core.Settings.html b/Documentation/Core.Settings.html index 5d4ed2138..e99508e15 100644 --- a/Documentation/Core.Settings.html +++ b/Documentation/Core.Settings.html @@ -2913,17 +2913,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SETTINGS.PlayerMenu - - -
@@ -5081,17 +5070,6 @@ It is advised to use this method at the start of the mission.

- - - -
-
- - -SETTINGS.PlayerMenu - - -
diff --git a/Documentation/Core.Spawn.html b/Documentation/Core.Spawn.html index f02ce7422..782a7ab69 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -2952,6 +2952,36 @@ and any spaces before and after the resulting name are removed.

SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)

+ + + +

SPAWN.communication

+ + + + + +

SPAWN.frequency

+ + + + + +

SPAWN.livery_id

+ + + + + +

SPAWN.modulation

+ + + + + +

SPAWN.skill

+ + @@ -3517,14 +3547,11 @@ 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.

-
@@ -3823,20 +3850,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - #boolean -SPAWN.SpawnInitKeepUnitNames - - - - -

Overwrite unit names by default with group name.

-
@@ -3855,7 +3868,40 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.SpawnInitModu +SPAWN.SpawnInitLivery + + + +
+ + +
+
+ + +SPAWN.SpawnInitModex + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPostfix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPrefix @@ -4205,6 +4251,61 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + +SPAWN.communication + + + +
+ +
+
+
+ + +SPAWN.frequency + + + +
+ +
+
+
+ + +SPAWN.livery_id + + + +
+ +
+
+
+ + +SPAWN.modulation + + + +
+ +
+
+
+ + +SPAWN.skill + + +
@@ -9372,14 +9473,11 @@ 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.

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

- - -
-
- - #boolean -SPAWN.SpawnInitKeepUnitNames - - - - -

Overwrite unit names by default with group name.

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

-SPAWN.SpawnInitModu +SPAWN.SpawnInitLivery + + + + + + +
+
+ + +SPAWN.SpawnInitModex + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPostfix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPrefix @@ -10060,6 +10177,61 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

+ +
+
+
+ + +SPAWN.communication + + + +
+ +
+
+
+ + +SPAWN.frequency + + + +
+ +
+
+
+ + +SPAWN.livery_id + + + +
+ +
+
+
+ + +SPAWN.modulation + + + +
+ +
+
+
+ + +SPAWN.skill + + +
diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index 5285688c4..27c7a141a 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -1996,6 +1996,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

+ + @@ -2910,6 +2928,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ + +
+
+ + +SPAWNSTATIC.heliport_callsign_id + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_frequency + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_modulation + + +
@@ -4263,6 +4314,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + +SPAWNSTATIC.heliport_callsign_id + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_frequency + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_modulation + + +
diff --git a/Documentation/Core.Spot.html b/Documentation/Core.Spot.html index 6d8b4c5cd..de04fc749 100644 --- a/Documentation/Core.Spot.html +++ b/Documentation/Core.Spot.html @@ -2815,50 +2815,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -4142,50 +4098,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -5708,50 +5620,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
diff --git a/Documentation/Core.Zone.html b/Documentation/Core.Zone.html index 5bd57a0b1..f31dcac1e 100644 --- a/Documentation/Core.Zone.html +++ b/Documentation/Core.Zone.html @@ -1662,7 +1662,7 @@

Author: FlightControl

-

Contributions: Applevangelist, FunkyFranky

+

Contributions: Applevangelist, FunkyFranky, coconutcockpit


@@ -1838,7 +1838,7 @@ without much scripting overhead!!!

A zone might have additional Properties created in the DCS Mission Editor, which can be accessed:

*ZONE_BASE.GetProperty(): Returns the Value of the zone with the given PropertyName, or nil if no matching property exists. - *ZONE_BASE.GetAllProperties(): Returns the zone Properties table.

+ *ZONE_BASE.GetAllProperties(): Returns the zone Properties table.

@@ -1894,45 +1894,21 @@ This class implements the inherited functions from #ZO
- +
- +

Global ZONE_POLYGON

Global ZONE_OVAL

-

The ZONE_POLYGON class defined by a sequence of Wrapper.Group#GROUP waypoints within the Mission Editor, forming a polygon.

+
-
+
- #ZONE_POLYGON -ZONE_POLYGON + #table +ZONE_OVAL -

The ZONE_POLYGON class defined by a sequence of Wrapper.Group#GROUP waypoints within the Mission Editor, forming a polygon.

- - -

This class implements the inherited functions from #ZONE_RADIUS taking into account the own zone format and properties.

- -

Declare a ZONE_POLYGON directly in the DCS mission editor!

- -

You can declare a ZONE_POLYGON using the DCS mission editor by adding the #ZONE_POLYGON tag in the group name.

- -

So, imagine you have a group declared in the mission editor, with group name DefenseZone#ZONE_POLYGON. -Then during mission startup, when loading Moose.lua, this group will be detected as a ZONE_POLYGON declaration. -Within the background, a ZONE_POLYGON object will be created within the Core.Database using the properties of the group. -The ZONE_POLYGON name will be the group name without the #ZONE_POLYGON tag.

- -

So, you can search yourself for the ZONE_POLYGON by using the ZONE_POLYGON.FindByName() method. -In this example, local PolygonZone = ZONE_POLYGON:FindByName( "DefenseZone" ) would return the ZONE_POLYGON object -that was created at mission startup, and reference it into the PolygonZone local object.

- -

Mission ZON-510 shows a demonstration of this feature or method.

- -

This is especially handy if you want to quickly setup a SET_ZONE... -So when you would declare local SetZone = SET_ZONE:New():FilterPrefixes( "Defense" ):FilterStart(), -then SetZone would contain the ZONE_POLYGON object DefenseZone as part of the zone collection, -without much scripting overhead!

@@ -2070,6 +2046,27 @@ This class is an abstract BASE class for derived classes, and is not meant to be

This class implements the inherited functions from #ZONE_RADIUS taking into account the own zone format and properties.

+
+ +
+
+ + + + + +

Global _ZONE_TRIANGLE

+ +
+
+
+
+ + #table +_ZONE_TRIANGLE + + +
@@ -2476,7 +2473,7 @@ This class is an abstract BASE class for derived classes, and is not meant to be

ZONE_BASE:__TriggerStop(delay)

-

Triggers the FSM event "TriggerStop" after a delay.

+

Triggers the FSM event "TriggerStop" after a delay.

@@ -3463,6 +3460,49 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ZONE_GROUP:New(ZoneName, ZoneGROUP, Radius)

Constructor to create a ZONE_GROUP instance, taking the zone name, a zone Wrapper.Group#GROUP and a radius.

+ + + + + +

Type ZONE_OVAL

+
+ ZONE_OVAL +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Fields and Methods inherited from ZONE_OVALDescription

ZONE_OVAL.Angle

+ +

ZONE_OVAL.CenterVec2

+ +

ZONE_OVAL.DrawPoly

+ +

ZONE_OVAL.MajorAxis

+ +

ZONE_OVAL.MinorAxis

+
@@ -3479,126 +3519,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau Fields and Methods inherited from ZONE_POLYGON Description - -

ZONE_POLYGON:CheckScannedCoalition(Coalition)

- -

Check if a certain coalition is inside a scanned zone.

- - - -

ZONE_POLYGON:CountScannedCoalitions()

- -

Count the number of different coalitions inside the zone.

- - - -

ZONE_POLYGON:FindByName(ZoneName)

- -

Find a polygon zone in the _DATABASE using the name of the polygon zone.

- - - -

ZONE_POLYGON:GetScannedCoalition(Coalition)

- -

Get Coalitions of the units in the Zone, or Check if there are units of the given Coalition in the Zone.

- - - -

ZONE_POLYGON:GetScannedScenery()

- -

Get scanned scenery table

- - - -

ZONE_POLYGON:GetScannedSceneryObjects()

- -

Get scanned scenery table

- - - -

ZONE_POLYGON:GetScannedSceneryType(SceneryType)

- -

Get scanned scenery types

- - - -

ZONE_POLYGON:GetScannedSetGroup()

- -

Get a set of scanned units.

- - - -

ZONE_POLYGON:GetScannedSetScenery()

- -

Get scanned set of scenery objects

- - - -

ZONE_POLYGON:GetScannedSetUnit()

- -

Get a set of scanned units.

- - - -

ZONE_POLYGON:GetScannedUnits()

- -

Count the number of different coalitions inside the zone.

- - - -

ZONE_POLYGON:IsAllInZoneOfCoalition(Coalition)

- -

Is All in Zone of Coalition?

- - - -

ZONE_POLYGON:IsAllInZoneOfOtherCoalition(Coalition)

- -

Is All in Zone of Other Coalition?

- - - -

ZONE_POLYGON:IsNoneInZone()

- -

Is None in Zone?

- - - -

ZONE_POLYGON:IsNoneInZoneOfCoalition(Coalition)

- -

Is None in Zone of Coalition?

- - - -

ZONE_POLYGON:IsSomeInZoneOfCoalition(Coalition)

- -

Is Some in Zone of Coalition?

- - - -

ZONE_POLYGON:New(ZoneName, ZoneGroup)

- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and the Wrapper.Group#GROUP defined within the Mission Editor.

- - - -

ZONE_POLYGON:NewFromGroupName(GroupName)

- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and the name of the Wrapper.Group#GROUP defined within the Mission Editor.

- - - -

ZONE_POLYGON:NewFromPointsArray(ZoneName, PointsArray)

- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and an array of DCS#Vec2, forming a polygon.

- - - -

ZONE_POLYGON:Scan(ObjectCategories, UnitCategories)

- -

Scan the zone for the presence of units of the given ObjectCategories.

- -

ZONE_POLYGON.ScanData

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

ZONE_POLYGON_BASE.DrawID

- - - - - -

ZONE_POLYGON_BASE:DrawZone(Coalition, Color, Alpha, FillColor, FillAlpha, LineType, ReadOnly)

+

ZONE_POLYGON_BASE:DrawZone(Coalition, Color, Alpha, FillColor, FillAlpha, LineType, ReadOnly, IncludeTriangles)

Draw the zone on the F10 map.

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

ZONE_POLYGON_BASE:GetRadius()

-

Get the smallest radius encompassing all points of the polygon zone.

+

Get the smallest radius encompassing all points of the polygon zone.

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

ZONE_POLYGON_BASE:GetRandomVec2()

Define a random DCS#Vec2 within the zone.

+ + + +

ZONE_POLYGON_BASE:GetSurfaceArea()

+ +

Get the surface area of this polygon

@@ -3748,13 +3668,13 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ZONE_POLYGON_BASE:GetZoneQuad(ZoneName, DoNotRegisterZone)

-

Get the smallest rectangular zone encompassing all points points of the polygon zone.

+

Get the smallest rectangular zone encompassing all points points of the polygon zone.

ZONE_POLYGON_BASE:GetZoneRadius(ZoneName, DoNotRegisterZone)

-

Get the smallest circular zone encompassing all points of the polygon zone.

+

Get the smallest circular zone encompassing all points of the polygon zone.

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

ZONE_POLYGON_BASE:SmokeZone(SmokeColor, Segments)

Smokes the zone boundaries in a color.

+ + + +

ZONE_POLYGON_BASE.SurfaceArea

+ + @@ -3803,6 +3729,24 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ZONE_POLYGON_BASE:UpdateFromVec3(Vec2Array, Vec3Array)

Update polygon points with an array of DCS#Vec3.

+ + + +

ZONE_POLYGON_BASE:_CalculateSurfaceArea()

+ +

Calculates the surface area of the polygon.

+ + + +

ZONE_POLYGON_BASE._Triangles

+ + + + + +

ZONE_POLYGON_BASE:_Triangulate()

+ +

Triangulates the polygon.

@@ -6501,17 +6445,17 @@ end

Usage:

           -- Create a new zone and start watching it every 5 secs for a defined GROUP entering or leaving
            local triggerzone = ZONE:New("ZonetoWatch"):Trigger(GROUP:FindByName("Aerial-1"))
-           
+
            -- This FSM function will be called when the group enters the zone
            function triggerzone:OnAfterEnteredZone(From,Event,To,Group)
              MESSAGE:New("Group has entered zone!",15):ToAll()
            end
-           
+
            -- This FSM function will be called when the group leaves the zone
            function triggerzone:OnAfterLeftZone(From,Event,To,Group)
              MESSAGE:New("Group has left zone!",15):ToAll()
            end
-           
+
            -- Stop watching the zone after 1 hour
           triggerzone:__TriggerStop(3600)
@@ -6636,7 +6580,7 @@ end

ZONE_BASE:__TriggerStop(delay)

-

Triggers the FSM event "TriggerStop" after a delay.

+

Triggers the FSM event "TriggerStop" after a delay.

@@ -12542,6 +12486,73 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +

Type ZONE_OVAL

+
+
+
+

Field(s)

+
+
+
+ + +ZONE_OVAL.Angle + + + +
+ +
+
+
+ + #table +ZONE_OVAL.CenterVec2 + + + +
+ +
+
+
+ + +ZONE_OVAL.DrawPoly + + + +
+ +
+
+
+ + +ZONE_OVAL.MajorAxis + + + +
+ +
+
+
+ + +ZONE_OVAL.MinorAxis + + + +
+ +
+
+

Function(s)

+
@@ -12576,859 +12587,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Function(s)

-
- -
-

ZONE_POLYGON:CheckScannedCoalition(Coalition)

-
- -

Check if a certain coalition is inside a scanned zone.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #number - Coalition -

-
-
- -

The coalition id, e.g. coalition.side.BLUE.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

If true, the coalition is inside the zone.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:CountScannedCoalitions()

-
- -

Count the number of different coalitions inside the zone.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#number:

-
-
- -

Counted coalitions.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:FindByName(ZoneName)

-
- -

Find a polygon zone in the _DATABASE using the name of the polygon zone.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #string - ZoneName -

-
-
- -

The name of the polygon zone.

- -
-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedCoalition(Coalition)

-
- -

Get Coalitions of the units in the Zone, or Check if there are units of the given Coalition in the Zone.

- - -

Returns nil if there are none to two Coalitions in the zone! -Returns one Coalition if there are only Units of one Coalition in the Zone. -Returns the Coalition for the given Coalition if there are units of the Coalition in the Zone.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- Coalition -

-
-
-

-
-
-

Return value:

-
-
-

#table:

-
-
- - - -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedScenery()

-
- -

Get scanned scenery table

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#table:

-
-
- -

Structured table of [type].[name].Wrapper.Scenery#SCENERY scenery objects.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedSceneryObjects()

-
- -

Get scanned scenery table

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#table:

-
-
- -

Table of Wrapper.Scenery#SCENERY scenery objects.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedSceneryType(SceneryType)

-
- -

Get scanned scenery types

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- SceneryType -

-
-
-

-
-
-

Return value:

-
-
-

#table:

-
-
- -

Table of DCS scenery type objects.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedSetGroup()

-
- -

Get a set of scanned units.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
- -
- -

Set of groups.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedSetScenery()

-
- -

Get scanned set of scenery objects

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#table:

-
-
- -

Table of Wrapper.Scenery#SCENERY scenery objects.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedSetUnit()

-
- -

Get a set of scanned units.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
- -
- -

Set of units and statics inside the zone.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:GetScannedUnits()

-
- -

Count the number of different coalitions inside the zone.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#table:

-
-
- -

Table of DCS units and DCS statics inside the zone.

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:IsAllInZoneOfCoalition(Coalition)

-
- -

Is All in Zone of Coalition?

- - -

Check if only the specified coalition is inside the zone and noone else.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #number - Coalition -

-
-
- -

Coalition ID of the coalition which is checked to be the only one in the zone.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

True, if only that coalition is inside the zone and no one else.

- -
-
-

Usage:

-
   self.Zone:Scan()
-   local IsGuarded = self.Zone:IsAllInZoneOfCoalition( self.Coalition )
- -
- -
-
- -
- -
-

ZONE_POLYGON:IsAllInZoneOfOtherCoalition(Coalition)

-
- -

Is All in Zone of Other Coalition?

- - -

Check if only one coalition is inside the zone and the specified coalition is not the one. -You first need to use the ZONE_POLYGON.Scan method to scan the zone before it can be evaluated! -Note that once a zone has been scanned, multiple evaluations can be done on the scan result set.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #number - Coalition -

-
-
- -

Coalition ID of the coalition which is not supposed to be in the zone.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

True, if and only if only one coalition is inside the zone and the specified coalition is not it.

- -
-
-

Usage:

-
   self.Zone:Scan()
-   local IsCaptured = self.Zone:IsAllInZoneOfOtherCoalition( self.Coalition )
- -
- -
-
- -
- -
-

ZONE_POLYGON:IsNoneInZone()

-
- -

Is None in Zone?

- - -

You first need to use the ZONE_POLYGON.Scan method to scan the zone before it can be evaluated! -Note that once a zone has been scanned, multiple evaluations can be done on the scan result set.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Return value:

-
-
-

#boolean:

-
-
- - - -
-
-

Usage:

-
   self.Zone:Scan()
-   local IsEmpty = self.Zone:IsNoneInZone()
- -
- -
-
- -
- -
-

ZONE_POLYGON:IsNoneInZoneOfCoalition(Coalition)

-
- -

Is None in Zone of Coalition?

- - -

You first need to use the ZONE_POLYGON.Scan method to scan the zone before it can be evaluated! -Note that once a zone has been scanned, multiple evaluations can be done on the scan result set.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- Coalition -

-
-
-

-
-
-

Return value:

-
-
-

#boolean:

-
-
- - - -
-
-

Usage:

-
   self.Zone:Scan()
-   local IsOccupied = self.Zone:IsNoneInZoneOfCoalition( self.Coalition )
- -
- -
-
- -
- -
-

ZONE_POLYGON:IsSomeInZoneOfCoalition(Coalition)

-
- -

Is Some in Zone of Coalition?

- - -

Check if more than one coalition is inside the zone and the specified coalition is one of them. -You first need to use the ZONE_POLYGON.Scan method to scan the zone before it can be evaluated! -Note that once a zone has been scanned, multiple evaluations can be done on the scan result set.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #number - Coalition -

-
-
- -

ID of the coalition which is checked to be inside the zone.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

True if more than one coalition is inside the zone and the specified coalition is one of them.

- -
-
-

Usage:

-
   self.Zone:Scan()
-   local IsAttacked = self.Zone:IsSomeInZoneOfCoalition( self.Coalition )
- -
- -
-
- -
- -
-

ZONE_POLYGON:New(ZoneName, ZoneGroup)

-
- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and the Wrapper.Group#GROUP defined within the Mission Editor.

- - -

The Wrapper.Group#GROUP waypoints define the polygon corners. The first and the last point are automatically connected by ZONE_POLYGON.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameters:

-
-
-

- #string - ZoneName -

-
-
- -

Name of the zone.

- -
-
-
-
-

- Wrapper.Group#GROUP - ZoneGroup -

-
-
- -

The GROUP waypoints as defined within the Mission Editor define the polygon shape.

- -
-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:NewFromGroupName(GroupName)

-
- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and the name of the Wrapper.Group#GROUP defined within the Mission Editor.

- - -

The Wrapper.Group#GROUP waypoints define the polygon corners. The first and the last point are automatically connected by ZONE_POLYGON.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameter:

-
-
-

- #string - GroupName -

-
-
- -

The group name of the GROUP defining the waypoints within the Mission Editor to define the polygon shape.

- -
-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:NewFromPointsArray(ZoneName, PointsArray)

-
- -

Constructor to create a ZONE_POLYGON instance, taking the zone name and an array of DCS#Vec2, forming a polygon.

- -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameters:

-
-
-

- #string - ZoneName -

-
-
- -

Name of the zone.

- -
-
-
-
-

- #ZONE_POLYGON_BASE.ListVec2 - PointsArray -

-
-
- -

An array of DCS#Vec2, forming a polygon.

- -
-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
- -
-

ZONE_POLYGON:Scan(ObjectCategories, UnitCategories)

-
- -

Scan the zone for the presence of units of the given ObjectCategories.

- - -

Does not scan for scenery at the moment. -Note that only after a zone has been scanned, the zone can be evaluated by:

- - - -
-
-

Defined in:

-
-

ZONE_POLYGON

-
-

Parameters:

-
-
-

- ObjectCategories -

-
-
- -

An array of categories of the objects to find in the zone. E.g. {Object.Category.UNIT}

- -
-
-
-
-

- UnitCategories -

-
-
- -

An array of unit categories of the objects to find in the zone. E.g. {Unit.Category.GROUND_UNIT,Unit.Category.SHIP}

- -
-
-

Usage:

-
   myzone:Scan({Object.Category.UNIT},{Unit.Category.GROUND_UNIT})
-   local IsAttacked = myzone:IsSomeInZoneOfCoalition( self.Coalition )
- -
- -
-
- @@ -13441,10 +12599,10 @@ Note that only after a zone has been scanned, the zone can be e
+ #ZONE_POLYGON_BASE.ListVec2 +ZONE_POLYGON_BASE.Polygon -ZONE_POLYGON_BASE.DrawID - - +

The polygon defined by an array of DCS#Vec2.

@@ -13452,10 +12610,27 @@ Note that only after a zone has been scanned, the zone can be e
- #ZONE_POLYGON_BASE.ListVec2 -ZONE_POLYGON_BASE.Polygon -

The polygon defined by an array of DCS#Vec2.

+ZONE_POLYGON_BASE.SurfaceArea + + + + +

set the polygon's surface area

+ +
+ +
+
+
+ + +ZONE_POLYGON_BASE._Triangles + + + + +

triangulate the polygon so we can work with it

@@ -13619,13 +12794,14 @@ Note that only after a zone has been scanned, the zone can be e

Draw the zone on the F10 map.

-

NOTE Currently, only polygons up to ten points are supported!

+

Infinite number of points supported +- ported from https://github.com/nielsvaes/CCMOOSE/blob/master/Moose%20Development/Moose/Shapes/Polygon.lua

@@ -13682,7 +12858,7 @@ Note that only after a zone has been scanned, the zone can be e
-

RGB color table {r, g, b}, e.g. {1,0,0} for red. Default is same as Color value.

+

RGB color table {r, g, b}, e.g. {1,0,0} for red. Default is same as Color value. -- doesn't seem to work

@@ -13695,7 +12871,7 @@ Note that only after a zone has been scanned, the zone can be e
-

Transparency [0,1]. Default 0.15.

+

Transparency [0,1]. Default 0.15. -- doesn't seem to work

@@ -13725,6 +12901,16 @@ Note that only after a zone has been scanned, the zone can be e
+
+
+

+ IncludeTriangles +

+
+
+

+
+

Return value:

@@ -13928,7 +13114,7 @@ Note that only after a zone has been scanned, the zone can be e

ZONE_POLYGON_BASE:GetRadius()

-

Get the smallest radius encompassing all points of the polygon zone.

+

Get the smallest radius encompassing all points of the polygon zone.

@@ -14048,6 +13234,11 @@ Note that only after a zone has been scanned, the zone can be e

Define a random DCS#Vec2 within the zone.

+ +
    +
  • ported from https://github.com/nielsvaes/CCMOOSE/blob/master/Moose%20Development/Moose/Shapes/Polygon.lua
  • +
+

Defined in:

@@ -14067,6 +13258,36 @@ Note that only after a zone has been scanned, the zone can be e
+
+
+ +
+ + + +

Get the surface area of this polygon

+ +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Return value:

+
+
+

#number:

+
+
+ +

Surface area

+ +
+
+
+
@@ -14327,7 +13548,7 @@ Note that only after a zone has been scanned, the zone can be e

ZONE_POLYGON_BASE:GetZoneQuad(ZoneName, DoNotRegisterZone)

-

Get the smallest rectangular zone encompassing all points points of the polygon zone.

+

Get the smallest rectangular zone encompassing all points points of the polygon zone.

@@ -14384,7 +13605,7 @@ Note that only after a zone has been scanned, the zone can be e

ZONE_POLYGON_BASE:GetZoneRadius(ZoneName, DoNotRegisterZone)

-

Get the smallest circular zone encompassing all points of the polygon zone.

+

Get the smallest circular zone encompassing all points of the polygon zone.

@@ -14785,6 +14006,75 @@ Note that only after a zone has been scanned, the zone can be e
+
+ + +
+ +
+

ZONE_POLYGON_BASE:_CalculateSurfaceArea()

+
+ +

Calculates the surface area of the polygon.

+ + +

The surface area is the sum of the areas of the triangles that make up the polygon. +- ported from https://github.com/nielsvaes/CCMOOSE/blob/master/Moose%20Development/Moose/Shapes/Polygon.lua

+ +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Return value:

+
+
+

#number:

+
+
+ +

The surface area of the polygon

+ +
+
+
+ +
+
+ +
+ +
+

ZONE_POLYGON_BASE:_Triangulate()

+
+ +

Triangulates the polygon.

+ + + + +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Return value:

+
+
+

#table:

+
+
+ +

The #_TRIANGLE list that make up

+ +
+
+
+
diff --git a/Documentation/Functional.Designate.html b/Documentation/Functional.Designate.html index a5c774d04..7294c4efe 100644 --- a/Documentation/Functional.Designate.html +++ b/Documentation/Functional.Designate.html @@ -3565,6 +3565,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -6740,6 +6751,17 @@ Using the menu system, the player can "forget" a designation, so that gradually + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -7550,6 +7572,17 @@ Using the menu system, the player can "forget" a designation, so that gradually + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -8330,6 +8363,17 @@ Using the menu system, the player can "forget" a designation, so that gradually + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -9998,6 +10042,17 @@ Using the menu system, the player can "forget" a designation, so that gradually + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index d365edac0..1489b9822 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -19137,17 +19137,6 @@ When moose is loading dynamically (for moose class development), tracing is swit - - - -
-
- - #number -DETECTION_BASE.DetectedItemMax - - -
@@ -23840,17 +23829,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #number -DETECTION_BASE.DetectedItemMax - - -
@@ -25604,17 +25582,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #number -DETECTION_BASE.DetectedItemMax - - -
diff --git a/Documentation/Functional.Mantis.html b/Documentation/Functional.Mantis.html index dd9a10eb7..9cd0f4800 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -4131,7 +4131,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Long @@ -4142,7 +4142,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Medium @@ -4153,7 +4153,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Short @@ -4662,9 +4662,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

switch alarm state RED

-
@@ -8823,7 +8820,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Long @@ -8834,7 +8831,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Medium @@ -8845,7 +8842,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Short @@ -9354,9 +9351,6 @@ E.g. `mymantis:SetAdvancedMode(true, 90)` - -

switch alarm state RED

-
diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index 90e95f61e..ed13dccbb 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -4528,6 +4528,36 @@ and any spaces before and after the resulting name are removed.

RAT:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)

+ + + +

RAT.communication

+ + + + + +

RAT.frequency

+ + + + + +

RAT.livery_id

+ + + + + +

RAT.modulation

+ + + + + +

RAT.skill

+ + diff --git a/Documentation/Functional.Scoring.html b/Documentation/Functional.Scoring.html index fe7c39ef5..087c1fbf0 100644 --- a/Documentation/Functional.Scoring.html +++ b/Documentation/Functional.Scoring.html @@ -2866,11 +2866,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.AutoSave + +

Create the CSV file.

+
@@ -5452,11 +5455,14 @@ The scale magnifies the scores given to the players.

- + #boolean SCORING.AutoSave + +

Create the CSV file.

+
diff --git a/Documentation/Ops.Airboss.html b/Documentation/Ops.Airboss.html index e91b785dd..5ff653777 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -40496,6 +40496,9 @@ When moose is loading dynamically (for moose class development), tracing is swit + +

Set case of f

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

Set stack flag.

+

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

@@ -40591,6 +40594,17 @@ 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 + + +
@@ -40727,7 +40741,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

Set section lead of player flight.

+

Make player section lead if he was not before.

@@ -40751,6 +40765,9 @@ When moose is loading dynamically (for moose class development), tracing is swit + +

Set Stable Hover

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

Band modulation.

- - - -
-
- - -AIRBOSS.Radio.voice - - -
diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index 84a8f3556..c2c2412d7 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -2605,12 +2605,6 @@ Dropped troop noMessage and forcedesc parameters aren't saved.

CSAR.inTransitGroups

- - - -

CSAR.index

- - @@ -4454,11 +4448,25 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.downedPilots + +

Replacement woundedGroups

+ +
+ +
+
+
+ + #number +CSAR.downedpilotcounter + + +
@@ -4582,17 +4590,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

contain a table for each SAR with all units he has with the original names

- - - -
-
- - -CSAR.index - - -
@@ -10466,11 +10463,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

+ +
+ +
+
+
+ + #number +CSAR.downedpilotcounter + + +
@@ -10594,17 +10605,6 @@ callsigns from playername or group name.

contain a table for each SAR with all units he has with the original names

- - - -
-
- - -CSAR.index - - -
@@ -12963,11 +12963,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

+ +
+ +
+
+
+ + #number +CSAR.downedpilotcounter + + +
@@ -13091,17 +13105,6 @@ callsigns from playername or group name.

contain a table for each SAR with all units he has with the original names

- - - -
-
- - -CSAR.index - - -
diff --git a/Documentation/Ops.CTLD.html b/Documentation/Ops.CTLD.html index 547a90c56..e1f84f1ff 100644 --- a/Documentation/Ops.CTLD.html +++ b/Documentation/Ops.CTLD.html @@ -7677,17 +7677,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Name of the class.

- - - -
-
- - #number -CTLD.CrateCounter - - -
@@ -7708,7 +7697,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.CtldUnits @@ -7730,7 +7719,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.DroppedTroops @@ -7755,28 +7744,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number -CTLD.Engineers - - - -

use as counter

- -
- -
-
-
- - #table CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

-
@@ -7808,7 +7780,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.FreeFMFrequencies @@ -7830,14 +7802,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.FreeVHFFrequencies - -

Beacons

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

tables

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

Folderpath.

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

#1570

-
- -
-
-
- - #table -CTLD.droppedBeacons - - -
@@ -8474,7 +8426,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

time to repairor build a unit/group

+

noob catch

@@ -8562,7 +8514,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number CTLD.troopdropzoneradius @@ -17875,17 +17827,6 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

-
- -
-
-
- - #number -CTLD.CrateCounter - - -
@@ -17906,7 +17847,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.CtldUnits @@ -17928,7 +17869,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.DroppedTroops @@ -17953,28 +17894,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #number -CTLD.Engineers - - - -

use as counter

- -
- -
-
-
- - #table CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

-
@@ -18006,7 +17930,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.FreeFMFrequencies @@ -18028,14 +17952,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.FreeVHFFrequencies - -

Beacons

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

tables

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

Folderpath.

-
@@ -18405,17 +18320,6 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

-
- -
-
-
- - #table -CTLD.droppedBeacons - - -
@@ -18672,7 +18576,7 @@ However, if you create a new folder inside the miz file, which contains the soun -

time to repairor build a unit/group

+

noob catch

@@ -18760,7 +18664,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #number CTLD.troopdropzoneradius @@ -20337,17 +20241,6 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

-
- -
-
-
- - #number -CTLD.CrateCounter - - -
@@ -20368,7 +20261,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.CtldUnits @@ -20390,7 +20283,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.DroppedTroops @@ -20415,28 +20308,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #number -CTLD.Engineers - - - -

use as counter

- -
- -
-
-
- - #table CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

-
@@ -20468,7 +20344,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.FreeFMFrequencies @@ -20490,14 +20366,11 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.FreeVHFFrequencies - -

Beacons

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

tables

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

Folderpath.

-
@@ -20867,17 +20734,6 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

-
- -
-
-
- - #table -CTLD.droppedBeacons - - -
@@ -21134,7 +20990,7 @@ However, if you create a new folder inside the miz file, which contains the soun -

time to repairor build a unit/group

+

noob catch

@@ -21222,7 +21078,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #number CTLD.troopdropzoneradius @@ -25433,17 +25289,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Flag for direct loading.

-
- -
-
-
- - -CTLD_CARGO.Mark - - -
@@ -26570,17 +26415,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Flag for direct loading.

-
- -
-
-
- - -CTLD_CARGO.Mark - - -
@@ -30191,17 +30025,6 @@ When moose is loading dynamically (for moose class development), tracing is swit -
- -
- @@ -30855,17 +30678,6 @@ When moose is loading dynamically (for moose class development), tracing is swit -
- -
-
-
diff --git a/Documentation/Sound.SRS.html b/Documentation/Sound.SRS.html index fb76bb5cb..e2d0652cc 100644 --- a/Documentation/Sound.SRS.html +++ b/Documentation/Sound.SRS.html @@ -2162,6 +2162,12 @@ atis:Start()

MSRS.google

Full path google credentials JSON file, e.g. "C:\Users\username\Downloads\service-account-file.json".

+ + + +

MSRS.key

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

Full path google credentials JSON file, e.g. "C:\Users\username\Downloads\service-account-file.json".

+
+ +
+
+
+ + +MSRS.key + + +
@@ -3987,7 +4004,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #string MSRS.provider @@ -6317,6 +6334,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Full path google credentials JSON file, e.g. "C:\Users\username\Downloads\service-account-file.json".

+
+ +
+
+
+ + +MSRS.key + + +
@@ -6378,7 +6406,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #string MSRS.provider diff --git a/Documentation/Tasking.Task_A2A_Dispatcher.html b/Documentation/Tasking.Task_A2A_Dispatcher.html index 34058e877..b0f6202ea 100644 --- a/Documentation/Tasking.Task_A2A_Dispatcher.html +++ b/Documentation/Tasking.Task_A2A_Dispatcher.html @@ -2939,7 +2939,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -3664,7 +3664,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -4840,7 +4840,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -6318,7 +6318,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask diff --git a/Documentation/Tasking.Task_CARGO.html b/Documentation/Tasking.Task_CARGO.html index c213a94f7..a9d8a4ebe 100644 --- a/Documentation/Tasking.Task_CARGO.html +++ b/Documentation/Tasking.Task_CARGO.html @@ -3267,7 +3267,7 @@ based on the tasking capabilities defined in
- + #number TASK_CARGO.CargoLimit @@ -4689,7 +4689,7 @@ based on the tasking capabilities defined in
- + #number TASK_CARGO.CargoLimit @@ -9221,7 +9221,7 @@ If the Unit is part of the Task, true is returned.

- + #number TASK_CARGO.CargoLimit diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index 1cfc181f2..f2adb0e1e 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -3254,17 +3254,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Stack by pointer.

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

Stack by pointer.

-
- -
-
-
- - #number -FIFO.uniquecounter - - -
diff --git a/Documentation/Wrapper.Group.html b/Documentation/Wrapper.Group.html index 91e2eabce..096b9cc06 100644 --- a/Documentation/Wrapper.Group.html +++ b/Documentation/Wrapper.Group.html @@ -5231,7 +5231,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -9877,7 +9888,18 @@ So each unit of the group is respawned at exactly the same parking spot as it cu + +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -22033,7 +22055,18 @@ Note that when WayPointInitialize is called, the Mission of the controllable is + +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -26122,7 +26155,18 @@ Coordinates are dependent on the position of the maps origin.

+ +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -26747,7 +26791,18 @@ If the Identifiable is alive, true is returned.

+ +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -26989,7 +27044,18 @@ If the Identifiable is alive, true is returned.

+ +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter diff --git a/Documentation/Wrapper.Marker.html b/Documentation/Wrapper.Marker.html index 70a16f17d..22a0bd77c 100644 --- a/Documentation/Wrapper.Marker.html +++ b/Documentation/Wrapper.Marker.html @@ -3022,28 +3022,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -3121,6 +3099,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Text displayed in the mark panel.

+
+ +
+
+
+ + #boolean +MARKER.toall + + + +
+ +
+
+
+ + #boolean +MARKER.tocoalition + + +
@@ -5161,28 +5161,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -5260,6 +5238,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Text displayed in the mark panel.

+
+ +
+
+
+ + #boolean +MARKER.toall + + + +
+ +
+
+
+ + #boolean +MARKER.tocoalition + + +
@@ -6771,28 +6771,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -6870,6 +6848,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Text displayed in the mark panel.

+
+ +
+
+
+ + #boolean +MARKER.toall + + + +
+ +
+
+
+ + #boolean +MARKER.tocoalition + + +