diff --git a/Documentation/AI.AI_A2G_Dispatcher.html b/Documentation/AI.AI_A2G_Dispatcher.html index 8706ec973..5ce1bc4a2 100644 --- a/Documentation/AI.AI_A2G_Dispatcher.html +++ b/Documentation/AI.AI_A2G_Dispatcher.html @@ -4670,6 +4670,17 @@ 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 + + +
@@ -13104,6 +13115,17 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

+ + + +
+
+ + #number +AI_A2G_DISPATCHER.DefenderPatrolIndex + + +
@@ -14421,6 +14443,17 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

+ + + +
+
+ + #number +AI_A2G_DISPATCHER.DefenderPatrolIndex + + +
@@ -16044,6 +16077,17 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

+ + + +
+
+ + #number +AI_A2G_DISPATCHER.DefenderPatrolIndex + + +
diff --git a/Documentation/AI.AI_Cargo.html b/Documentation/AI.AI_Cargo.html index 030d3001b..b233efd63 100644 --- a/Documentation/AI.AI_Cargo.html +++ b/Documentation/AI.AI_Cargo.html @@ -2682,9 +2682,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

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

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

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

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

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

- @@ -6837,9 +6828,6 @@ 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 791b47499..2326fa2b0 100644 --- a/Documentation/AI.AI_Cargo_Airplane.html +++ b/Documentation/AI.AI_Cargo_Airplane.html @@ -2631,6 +2631,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

+
+
+ + +AI_CARGO_AIRPLANE.Airbase + + + + +

Set destination airbase for next :Route() command.

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

Aircraft is on a pickup mission.

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

Field(s)

+
+
+ + +AI_CARGO_AIRPLANE.Airbase + + + + +

Set destination airbase for next :Route() command.

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

Aircraft is on a pickup mission.

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

Field(s)

+
+
+ + +AI_CARGO_AIRPLANE.Airbase + + + + +

Set destination airbase for next :Route() command.

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

Aircraft is on a pickup mission.

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

Field(s)

+
+
+ + +AI_CARGO_AIRPLANE.Airbase + + + + +

Set destination airbase for next :Route() command.

+ +
+ +
@@ -6602,9 +6649,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/Cargo.CargoGroup.html b/Documentation/Cargo.CargoGroup.html index fcc8fc31b..c7850c4ae 100644 --- a/Documentation/Cargo.CargoGroup.html +++ b/Documentation/Cargo.CargoGroup.html @@ -1831,10 +1831,27 @@ Controls a network of short range air/missile defense groups.

+CARGO_GROUP.CargoCarrier + + + + +

self.CargoObject:Destroy()

+ +
+ + +
+
+ + CARGO_GROUP.CargoGroup + +

Then we register the new group in the database

+
@@ -3149,10 +3166,27 @@ This works for ground only groups.

+CARGO_GROUP.CargoCarrier + + + + +

self.CargoObject:Destroy()

+ +
+ + +
+
+ + CARGO_GROUP.CargoGroup + +

Then we register the new group in the database

+
diff --git a/Documentation/Cargo.CargoUnit.html b/Documentation/Cargo.CargoUnit.html index 204c2485b..4c3bb671d 100644 --- a/Documentation/Cargo.CargoUnit.html +++ b/Documentation/Cargo.CargoUnit.html @@ -1709,6 +1709,17 @@ Note that ground forces behave in a group, and thus, act in formation, regardles
+CARGO_UNIT.CargoCarrier + + + +
+ + +
+
+ + CARGO_UNIT.CargoInAir @@ -1727,17 +1738,6 @@ Note that ground forces behave in a group, and thus, act in formation, regardles

Set cargo object.

-
- -
-
-
- - #number -CARGO_UNIT.RunCount - - -
@@ -2424,6 +2424,17 @@ Note that ground forces behave in a group, and thus, act in formation, regardles
+CARGO_UNIT.CargoCarrier + + + +
+ + +
+
+ + CARGO_UNIT.CargoInAir @@ -2442,17 +2453,6 @@ Note that ground forces behave in a group, and thus, act in formation, regardles

Set cargo object.

-
- -
-
-
- - #number -CARGO_UNIT.RunCount - - -
diff --git a/Documentation/Core.Fsm.html b/Documentation/Core.Fsm.html index 428daf3f5..df8e7744e 100644 --- a/Documentation/Core.Fsm.html +++ b/Documentation/Core.Fsm.html @@ -5662,7 +5662,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #string FSM._StartState @@ -7265,7 +7265,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #string FSM._StartState diff --git a/Documentation/Core.Point.html b/Documentation/Core.Point.html index 787dec99e..8383707ea 100644 --- a/Documentation/Core.Point.html +++ b/Documentation/Core.Point.html @@ -17257,17 +17257,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

the y coordinate in meters.

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

the y coordinate in meters.

-
- -
-
-
- - -POINT_VEC2.z - - -
@@ -26331,17 +26309,6 @@ 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 a9366956a..ef63be064 100644 --- a/Documentation/Core.Settings.html +++ b/Documentation/Core.Settings.html @@ -2725,7 +2725,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + SETTINGS.A2ASystem @@ -2780,7 +2780,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + SETTINGS.Metric @@ -4819,7 +4819,7 @@ It is advised to use this method at the start of the mission.

- #string + SETTINGS.A2ASystem @@ -4874,7 +4874,7 @@ It is advised to use this method at the start of the mission.

- #boolean + SETTINGS.Metric diff --git a/Documentation/Core.Spawn.html b/Documentation/Core.Spawn.html index 690a3a1a6..b2839ca1a 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -2746,30 +2746,6 @@ 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.skill

- - @@ -3321,11 +3297,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.

+
@@ -3398,6 +3377,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.

+
@@ -3453,6 +3435,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.

+
@@ -3511,17 +3507,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
@@ -3555,17 +3540,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - -SPAWN.SpawnInitFreq - - -
@@ -3621,6 +3595,20 @@ 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.

+
@@ -3635,28 +3623,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

By default, no InitLimit

- - - -
-
- - -SPAWN.SpawnInitLivery - - - -
- -
-
-
- - -SPAWN.SpawnInitModu - - -
@@ -3848,6 +3814,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #boolean +SPAWN.SpawnUnControlled + + +
@@ -3860,7 +3837,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

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

+

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

@@ -3912,50 +3889,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

When working in UnControlled mode, all planes are Spawned in UnControlled mode before the scheduler starts.

- - - -
-
- - -SPAWN.communication - - - -
- -
-
-
- - -SPAWN.frequency - - - -
- -
-
-
- - -SPAWN.livery_id - - - -
- -
-
-
- - -SPAWN.skill - - -
@@ -8750,11 +8683,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.

+
@@ -8827,6 +8763,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.

+ @@ -8882,6 +8821,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.

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

- - -
-
- - -SPAWN.SpawnInitAirbase - - -
@@ -8984,17 +8926,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- - -
-
- - -SPAWN.SpawnInitFreq - - -
@@ -9050,6 +8981,20 @@ 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.

+
@@ -9064,28 +9009,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

By default, no InitLimit

- - - -
-
- - -SPAWN.SpawnInitLivery - - - -
- -
-
-
- - -SPAWN.SpawnInitModu - - -
@@ -9277,6 +9200,17 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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

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

+

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

@@ -9341,50 +9275,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

When working in UnControlled mode, all planes are Spawned in UnControlled mode before the scheduler starts.

- - - -
-
- - -SPAWN.communication - - - -
- -
-
-
- - -SPAWN.frequency - - - -
- -
-
-
- - -SPAWN.livery_id - - - -
- -
-
-
- - -SPAWN.skill - - -
diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index 33659441b..f72aee721 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -1894,6 +1894,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

+ + @@ -2800,6 +2818,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 + + +
@@ -4163,6 +4214,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/Functional.ATC_Ground.html b/Documentation/Functional.ATC_Ground.html index cc6ab7c4b..56f8f3343 100644 --- a/Documentation/Functional.ATC_Ground.html +++ b/Documentation/Functional.ATC_Ground.html @@ -1526,9 +1526,7 @@ Controls a network of short range air/missile defense groups.

Contributions: Dutch Baron - Concept & Testing

Author: FlightControl - Framework Design & Programming

- -
- +

Refactoring to use the Runway auto-detection: Applevangelist

Global(s)

@@ -1537,7 +1535,7 @@ Controls a network of short range air/missile defense groups.

Global ATC_GROUND

-

Base class for ATC_GROUND implementations.

+

[DEPRECATED, use ATC_GROUND_UNIVERSAL] Base class for ATC_GROUND implementations.

@@ -1548,7 +1546,7 @@ Controls a network of short range air/missile defense groups.

#ATC_GROUND ATC_GROUND -

Base class for ATC_GROUND implementations.

+

[DEPRECATED, use ATC_GROUND_UNIVERSAL] Base class for ATC_GROUND implementations.

@@ -1558,7 +1556,7 @@ Controls a network of short range air/missile defense groups.

Global ATC_GROUND_CAUCASUS

-

ATC_GROUND_CAUCASUS, extends #ATC_GROUND

+

ATC_GROUND_CAUCASUS, extends #ATC_GROUND_UNIVERSAL

The ATC_GROUND_CAUCASUS class monitors the speed of the airplanes at the airbase during taxi.

@@ -1571,7 +1569,7 @@ Controls a network of short range air/missile defense groups.

#ATC_GROUND_CAUCASUS ATC_GROUND_CAUCASUS -

ATC_GROUND_CAUCASUS, extends #ATC_GROUND

+

ATC_GROUND_CAUCASUS, extends #ATC_GROUND_UNIVERSAL

The ATC_GROUND_CAUCASUS class monitors the speed of the airplanes at the airbase during taxi.

@@ -1686,6 +1684,127 @@ ATC_Ground = ATC_GROUND_CAUCASUS:New( + + + +
+ + + + + +

Global ATC_GROUND_MARIANAISLANDS

+

ATC_GROUND_MARIANA, extends #ATC_GROUND

+ +

The ATC_GROUND_MARIANA class monitors the speed of the airplanes at the airbase during taxi.

+
+
+
+
+ + #table +ATC_GROUND_MARIANAISLANDS + +

ATC_GROUND_MARIANA, extends #ATC_GROUND

+ +

The ATC_GROUND_MARIANA class monitors the speed of the airplanes at the airbase during taxi.

+ + +

The pilots may not drive faster than the maximum speed for the airbase, or they will be despawned.

+ +
+ +

Banner Image

+ +
+ +

The default maximum speed for the airbases at Persian Gulf is 50 km/h. Warnings are given if this speed limit is trespassed. +Players will be immediately kicked when driving faster than 150 km/h on the taxi way.

+ +

The ATC_GROUND_MARIANA class monitors the speed of the airplanes at the airbase during taxi. +The pilots may not drive faster than the maximum speed for the airbase, or they will be despawned.

+ +

The pilot will receive 3 times a warning during speeding. After the 3rd warning, if the pilot is still driving +faster than the maximum allowed speed, the pilot will be kicked.

+ +

Different airbases have different maximum speeds, according safety regulations.

+ +

Airbases monitored

+ +

The following airbases are monitored at the Mariana Island region. +Use the Wrapper.Airbase#AIRBASE.MarianaIslands enumeration to select the airbases to be monitored.

+ + + +

Installation

+ +

In Single Player Missions

+ +

ATC_GROUND is fully functional in single player.

+ +

In Multi Player Missions

+ +

ATC_GROUND is functional in multi player, however ...

+ +

Due to a bug in DCS since release 1.5, the despawning of clients are not anymore working in multi player. +To work around this problem, a much better solution has been made, using the slot blocker script designed +by Ciribob.

+ +

With the help of Ciribob, this script has been extended to also kick client players while in flight. +ATC_GROUND is communicating with this modified script to kick players!

+ +

Install the file SimpleSlotBlockGameGUI.lua on the server, following the installation instructions described by Ciribob.

+ +

Simple Slot Blocker from Ciribob & FlightControl

+ +

Script it!

+ +

1. ATC_GROUND_MARIANAISLANDS Constructor

+ +

Creates a new ATC_GROUND_MARIANAISLANDS object that will monitor pilots taxiing behaviour.

+ +
-- This creates a new ATC_GROUND_MARIANAISLANDS object.
+
+-- Monitor for these clients the airbases.
+AirbasePoliceCaucasus = ATC_GROUND_MARIANAISLANDS:New()
+
+ATC_Ground = ATC_GROUND_MARIANAISLANDS:New( 
+  { AIRBASE.MarianaIslands.Andersen_AFB,
+    AIRBASE.MarianaIslands.Saipan_Intl 
+  } 
+)
+
+ + +

2. Set various options

+ +

There are various methods that you can use to tweak the behaviour of the ATC_GROUND classes.

+ +

2.1 Speed limit at an airbase.

+ + + +

2.2 Prevent Takeoff at an airbase. Players will be kicked immediately.

+ + + +

-- @field #ATC_GROUND_MARIANAISLANDS

+
@@ -2114,6 +2233,27 @@ ATC_Ground = ATC_GROUND_PERSIANGULF:New( + + + +
+ + + + + +

Global ATC_GROUND_UNIVERSAL

+

Base class for ATC_GROUND_UNIVERSAL implementations.

+
+
+
+
+ + #ATC_GROUND_UNIVERSAL +ATC_GROUND_UNIVERSAL + +

Base class for ATC_GROUND_UNIVERSAL implementations.

+
@@ -2180,7 +2320,7 @@ ATC_Ground = ATC_GROUND_PERSIANGULF:New(

ATC_GROUND:New(Airbases, AirbaseList)

-

Creates a new ATC_GROUND object.

+

[DEPRECATED, use ATC_GROUND_UNIVERSAL] Creates a new ATC_GROUND object.

@@ -2795,6 +2935,26 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ATC_GROUND_CAUCASUS:Start(RepeatScanSeconds)

Start SCHEDULER for ATC_GROUND_CAUCASUS object.

+ + + + + +

Type ATC_GROUND_MARIANAISLANDS

+
+ ATC_GROUND_MARIANAISLANDS +, extends #ATC_GROUND +
+
+ + + + + + + +
Fields and Methods inherited from ATC_GROUND_MARIANAISLANDSDescription

ATC_GROUND_MARIANAISLANDS.AirbaseMonitor

+
@@ -2891,6 +3051,674 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ATC_GROUND_PERSIANGULF:Start(RepeatScanSeconds)

Start SCHEDULER for ATC_GROUND_PERSIANGULF object.

+ + + +
+ +

Type ATC_GROUND_UNIVERSAL

+
+ ATC_GROUND_UNIVERSAL +, extends Core.Base#BASE +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields and Methods inherited from ATC_GROUND_UNIVERSALDescription

ATC_GROUND_UNIVERSAL.AirbaseList

+ +

ATC_GROUND_UNIVERSAL.AirbaseMonitor

+ +

ATC_GROUND_UNIVERSAL.Airbases

+ +

ATC_GROUND_UNIVERSAL.ClassName

+ +

ATC_GROUND_UNIVERSAL:DrawBoundaries(Color)

+

Draw the airbases boundaries.

+

ATC_GROUND_UNIVERSAL:DrawRunways(Color)

+

Draw the airbases runways.

+

ATC_GROUND_UNIVERSAL.KickSpeed

+ +

ATC_GROUND_UNIVERSAL.MaximumKickSpeed

+ +

ATC_GROUND_UNIVERSAL:New(AirbaseList)

+

Creates a new ATC_GROUND_UNIVERSAL object.

+

ATC_GROUND_UNIVERSAL:SetAirbaseBoundaries(Airbase, Zone)

+

Add a specific Airbase Boundary if you don't want to use the round zone that is auto-created.

+

ATC_GROUND_UNIVERSAL.SetClient

+ +

ATC_GROUND_UNIVERSAL:SetKickSpeed(KickSpeed, Airbase)

+

Set the maximum speed in meters per second (Mps) until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SetKickSpeedKmph(KickSpeed, Airbase)

+

Set the maximum speed in Kmph until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SetKickSpeedMiph(KickSpeedMiph, Airbase)

+

Set the maximum speed in Miph until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SetMaximumKickSpeed(MaximumKickSpeed, Airbase)

+

Set the maximum kick speed in meters per second (Mps) until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SetMaximumKickSpeedKmph(MaximumKickSpeed, Airbase)

+

Set the maximum kick speed in kilometers per hour (Kmph) until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SetMaximumKickSpeedMiph(MaximumKickSpeedMiph, Airbase)

+

Set the maximum kick speed in miles per hour (Miph) until the player gets kicked.

+

ATC_GROUND_UNIVERSAL:SmokeRunways(SmokeColor)

+

Smoke the airbases runways.

+

ATC_GROUND_UNIVERSAL:Start(RepeatScanSeconds)

+

Start SCHEDULER for ATC_GROUND_UNIVERSAL object.

+

ATC_GROUND_UNIVERSAL.Version

+ +

ATC_GROUND_UNIVERSAL:_AirbaseMonitor()

+

[Internal] Monitoring function

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields and Methods inherited from BASEDescription

ATC_GROUND_UNIVERSAL.ClassID

+

The ID number of the class.

+

ATC_GROUND_UNIVERSAL.ClassName

+

The name of the class.

+

ATC_GROUND_UNIVERSAL.ClassNameAndID

+

The name of the class concatenated with the ID number of the class.

+

ATC_GROUND_UNIVERSAL:ClearState(Object, StateName)

+

Clear the state of an object.

+

ATC_GROUND_UNIVERSAL:CreateEventBirth(EventTime, Initiator, IniUnitName, place, subplace)

+

Creation of a Birth Event.

+

ATC_GROUND_UNIVERSAL:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

+

Creation of a Crash Event.

+

ATC_GROUND_UNIVERSAL:CreateEventDead(EventTime, Initiator)

+

Creation of a Dead Event.

+

ATC_GROUND_UNIVERSAL:CreateEventPlayerEnterAircraft(PlayerUnit)

+

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

+

ATC_GROUND_UNIVERSAL:CreateEventRemoveUnit(EventTime, Initiator)

+

Creation of a Remove Unit Event.

+

ATC_GROUND_UNIVERSAL:CreateEventTakeoff(EventTime, Initiator)

+

Creation of a Takeoff Event.

+

ATC_GROUND_UNIVERSAL:E(Arguments)

+

Log an exception which will be traced always.

+

ATC_GROUND_UNIVERSAL:EventDispatcher()

+

Returns the event dispatcher

+

ATC_GROUND_UNIVERSAL:EventRemoveAll()

+

Remove all subscribed events

+

ATC_GROUND_UNIVERSAL:F(Arguments)

+

Trace a function call.

+

ATC_GROUND_UNIVERSAL:F2(Arguments)

+

Trace a function call level 2.

+

ATC_GROUND_UNIVERSAL:F3(Arguments)

+

Trace a function call level 3.

+

ATC_GROUND_UNIVERSAL:GetClassID()

+

Get the ClassID of the class instance.

+

ATC_GROUND_UNIVERSAL:GetClassName()

+

Get the ClassName of the class instance.

+

ATC_GROUND_UNIVERSAL:GetClassNameAndID()

+

Get the ClassName + ClassID of the class instance.

+

ATC_GROUND_UNIVERSAL:GetEventPriority()

+

Get the Class Event processing Priority.

+

ATC_GROUND_UNIVERSAL:GetParent(Child, FromClass)

+

This is the worker method to retrieve the Parent class.

+

ATC_GROUND_UNIVERSAL:GetState(Object, Key)

+

Get a Value given a Key from the Object.

+

ATC_GROUND_UNIVERSAL:HandleEvent(EventID, EventFunction)

+

Subscribe to a DCS Event.

+

ATC_GROUND_UNIVERSAL:I(Arguments)

+

Log an information which will be traced always.

+

ATC_GROUND_UNIVERSAL:Inherit(Child, Parent)

+

This is the worker method to inherit from a parent class.

+

ATC_GROUND_UNIVERSAL:IsInstanceOf(ClassName)

+

This is the worker method to check if an object is an (sub)instance of a class.

+

ATC_GROUND_UNIVERSAL:IsTrace()

+

Enquires if tracing is on (for the class).

+

ATC_GROUND_UNIVERSAL:New()

+

BASE constructor.

+

ATC_GROUND_UNIVERSAL:OnEvent(EventData)

+

Occurs when an object is completely destroyed.

+

ATC_GROUND_UNIVERSAL:OnEventBDA(EventData)

+

BDA.

+

ATC_GROUND_UNIVERSAL:OnEventBaseCaptured(EventData)

+

Occurs when a ground unit captures either an airbase or a farp.

+

ATC_GROUND_UNIVERSAL:OnEventBirth(EventData)

+

Occurs when any object is spawned into the mission.

+

ATC_GROUND_UNIVERSAL:OnEventCrash(EventData)

+

Occurs when any aircraft crashes into the ground and is completely destroyed.

+

ATC_GROUND_UNIVERSAL:OnEventDead(EventData)

+

Occurs when an object is dead.

+

ATC_GROUND_UNIVERSAL:OnEventDetailedFailure(EventData)

+

Unknown precisely what creates this event, likely tied into newer damage model.

+

ATC_GROUND_UNIVERSAL:OnEventDiscardChairAfterEjection(EventData)

+

Discard chair after ejection.

+

ATC_GROUND_UNIVERSAL:OnEventEjection(EventData)

+

Occurs when a pilot ejects from an aircraft +initiator : The unit that has ejected

+

ATC_GROUND_UNIVERSAL:OnEventEngineShutdown(EventData)

+

Occurs when any aircraft shuts down its engines.

+

ATC_GROUND_UNIVERSAL:OnEventEngineStartup(EventData)

+

Occurs when any aircraft starts its engines.

+

ATC_GROUND_UNIVERSAL:OnEventHit(EventData)

+

Occurs whenever an object is hit by a weapon.

+

ATC_GROUND_UNIVERSAL:OnEventHumanFailure(EventData)

+

Occurs when any system fails on a human controlled aircraft.

+

ATC_GROUND_UNIVERSAL:OnEventKill(EventData)

+

Occurs on the death of a unit.

+

ATC_GROUND_UNIVERSAL:OnEventLand(EventData)

+

Occurs when an aircraft lands at an airbase, farp or ship +initiator : The unit that has landed.

+

ATC_GROUND_UNIVERSAL:OnEventLandingAfterEjection(EventData)

+

Occurs shortly after the landing animation of an ejected pilot touching the ground and standing up.

+

ATC_GROUND_UNIVERSAL:OnEventLandingQualityMark(EventData)

+

Landing quality mark.

+

ATC_GROUND_UNIVERSAL:OnEventMarkAdded(EventData)

+

Occurs when a new mark was added.

+

ATC_GROUND_UNIVERSAL:OnEventMarkChange(EventData)

+

Occurs when a mark text was changed.

+

ATC_GROUND_UNIVERSAL:OnEventMarkRemoved(EventData)

+

Occurs when a mark was removed.

+

ATC_GROUND_UNIVERSAL:OnEventMissionEnd(EventData)

+

Occurs when a mission ends.

+

ATC_GROUND_UNIVERSAL:OnEventMissionStart(EventData)

+

Occurs when a mission starts.

+

ATC_GROUND_UNIVERSAL:OnEventParatrooperLanding(EventData)

+

Weapon add.

+

ATC_GROUND_UNIVERSAL:OnEventPilotDead(EventData)

+

Occurs when the pilot of an aircraft is killed.

+

ATC_GROUND_UNIVERSAL:OnEventPlayerEnterAircraft(EventData)

+

Occurs when a player enters a slot and takes control of an aircraft.

+

ATC_GROUND_UNIVERSAL:OnEventPlayerEnterUnit(EventData)

+

Occurs when any player assumes direct control of a unit.

+

ATC_GROUND_UNIVERSAL:OnEventPlayerLeaveUnit(EventData)

+

Occurs when any player relieves control of a unit to the AI.

+

ATC_GROUND_UNIVERSAL:OnEventRefueling(EventData)

+

Occurs when an aircraft connects with a tanker and begins taking on fuel.

+

ATC_GROUND_UNIVERSAL:OnEventRefuelingStop(EventData)

+

Occurs when an aircraft is finished taking fuel.

+

ATC_GROUND_UNIVERSAL:OnEventScore(EventData)

+

Occurs when any modification to the "Score" as seen on the debrief menu would occur.

+

ATC_GROUND_UNIVERSAL:OnEventShootingEnd(EventData)

+

Occurs when any unit stops firing its weapon.

+

ATC_GROUND_UNIVERSAL:OnEventShootingStart(EventData)

+

Occurs when any unit begins firing a weapon that has a high rate of fire.

+

ATC_GROUND_UNIVERSAL:OnEventShot(EventData)

+

Occurs whenever any unit in a mission fires a weapon.

+

ATC_GROUND_UNIVERSAL:OnEventTakeoff(EventData)

+

Occurs when an aircraft takes off from an airbase, farp, or ship.

+

ATC_GROUND_UNIVERSAL:OnEventTriggerZone(EventData)

+

Trigger zone.

+

ATC_GROUND_UNIVERSAL:OnEventUnitLost(EventData)

+

Occurs when the game thinks an object is destroyed.

+

ATC_GROUND_UNIVERSAL:ScheduleOnce(Start, SchedulerFunction, ...)

+

Schedule a new time event.

+

ATC_GROUND_UNIVERSAL:ScheduleRepeat(Start, Repeat, RandomizeFactor, Stop, SchedulerFunction, ...)

+

Schedule a new time event.

+

ATC_GROUND_UNIVERSAL:ScheduleStop(SchedulerFunction)

+

Stops the Schedule.

+

ATC_GROUND_UNIVERSAL.Scheduler

+ +

ATC_GROUND_UNIVERSAL:SetEventPriority(EventPriority)

+

Set the Class Event processing Priority.

+

ATC_GROUND_UNIVERSAL:SetState(Object, Key, Value)

+

Set a state or property of the Object given a Key and a Value.

+

ATC_GROUND_UNIVERSAL:T(Arguments)

+

Trace a function logic level 1.

+

ATC_GROUND_UNIVERSAL:T2(Arguments)

+

Trace a function logic level 2.

+

ATC_GROUND_UNIVERSAL:T3(Arguments)

+

Trace a function logic level 3.

+

ATC_GROUND_UNIVERSAL:TraceAll(TraceAll)

+

Trace all methods in MOOSE

+

ATC_GROUND_UNIVERSAL:TraceClass(Class)

+

Set tracing for a class

+

ATC_GROUND_UNIVERSAL:TraceClassMethod(Class, Method)

+

Set tracing for a specific method of class

+

ATC_GROUND_UNIVERSAL:TraceLevel(Level)

+

Set trace level

+

ATC_GROUND_UNIVERSAL:TraceOff()

+

Set trace off.

+

ATC_GROUND_UNIVERSAL:TraceOn()

+

Set trace on.

+

ATC_GROUND_UNIVERSAL:TraceOnOff(TraceOnOff)

+

Set trace on or off +Note that when trace is off, no BASE.Debug statement is performed, increasing performance! +When Moose is loaded statically, (as one file), tracing is switched off by default.

+

ATC_GROUND_UNIVERSAL:UnHandleEvent(EventID)

+

UnSubscribe to a DCS event.

+

ATC_GROUND_UNIVERSAL._

+ +

ATC_GROUND_UNIVERSAL:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

+

Trace a function call.

+

ATC_GROUND_UNIVERSAL:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

+

Trace a function logic.

+

ATC_GROUND_UNIVERSAL.__

+ +

ATC_GROUND_UNIVERSAL:onEvent(event)

+
@@ -2922,7 +3750,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table ATC_GROUND.Airbases @@ -2938,6 +3766,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

Kickspeed

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

ATC_GROUND:New(Airbases, AirbaseList)

-

Creates a new ATC_GROUND object.

+

[DEPRECATED, use ATC_GROUND_UNIVERSAL] Creates a new ATC_GROUND object.

@@ -3504,7 +4335,7 @@ An airbase can be specified to set the maximum kick speed for.

- + #table ATC_GROUND.Airbases @@ -3520,6 +4351,9 @@ An airbase can be specified to set the maximum kick speed for.

+ +

Kickspeed

+
@@ -6897,6 +7731,29 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +

Type ATC_GROUND_MARIANAISLANDS

+
+
+
+

Field(s)

+
+
+ + +
+
+

Function(s)

+
@@ -7221,6 +8078,4148 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +

Type ATC_GROUND_UNIVERSAL

+
+
+
+

Field(s)

+
+
+ + +
+
+ + +
+
+
+ + #table +ATC_GROUND_UNIVERSAL.Airbases + + + +
+ +
+
+
+ + #string +ATC_GROUND_UNIVERSAL.ClassName + + + +
+ +
+
+
+ + #number +ATC_GROUND_UNIVERSAL.KickSpeed + + + +
+ +
+
+ + +
+
+ + +
+
+
+ + #string +ATC_GROUND_UNIVERSAL.Version + + + +
+ +
+
+

Function(s)

+
+
+ + + +

Draw the airbases boundaries.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameter:

+
+
+

+ #table + Color +

+
+
+ +

The color of the line around the runways, in RGB, e.g {1,0,0} for red.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Draw the airbases runways.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameter:

+
+
+

+ #table + Color +

+
+
+ +

The color of the line around the runways, in RGB, e.g {1,0,0} for red.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Creates a new ATC_GROUND_UNIVERSAL object.

+ + +

This works on any map.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameter:

+
+
+

+ AirbaseList +

+
+
+ +

(Optional) A table of Airbase Names.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Add a specific Airbase Boundary if you don't want to use the round zone that is auto-created.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #string + Airbase +

+
+
+ +

The name of the Airbase

+ +
+
+
+
+

+ Core.Zone#ZONE + Zone +

+
+
+ +

The ZONE object to be used, e.g. a ZONE_POLYGON

+ +
+
+

Return value:

+
+ +
+ +

self

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

Set the maximum speed in meters per second (Mps) until the player gets kicked.

+ + +

An airbase can be specified to set the kick speed for.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + KickSpeed +

+
+
+ +

The speed in Mps.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+

Usage:

+

+  -- Declare Atc_Ground
+
+  Atc_Ground = ATC_GROUND_UNIVERSAL:New()
+  
+  -- Then use one of these methods...
+
+  Atc_Ground:SetKickSpeed( UTILS.KmphToMps( 80 ) ) -- Kick the players at 80 kilometers per hour
+
+  Atc_Ground:SetKickSpeed( UTILS.MiphToMps( 100 ) ) -- Kick the players at 100 miles per hour
+
+  Atc_Ground:SetKickSpeed( 24 ) -- Kick the players at 24 meters per second ( 24 * 3.6 = 86.4 kilometers per hour )
+
+ +
+ +
+
+ +
+ + + +

Set the maximum speed in Kmph until the player gets kicked.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + KickSpeed +

+
+
+ +

Set the speed in Kmph.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +

Atc_Ground:SetKickSpeedKmph( 80 ) -- Kick the players at 80 kilometers per hour

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

Set the maximum speed in Miph until the player gets kicked.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + KickSpeedMiph +

+
+
+ +

Set the speed in Mph.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +

Atc_Ground:SetKickSpeedMiph( 100 ) -- Kick the players at 100 miles per hour

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

Set the maximum kick speed in meters per second (Mps) until the player gets kicked.

+ + +

There are no warnings given if this speed is reached, and is to prevent players to take off from the airbase! +An airbase can be specified to set the maximum kick speed for.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + MaximumKickSpeed +

+
+
+ +

The speed in Mps.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+

Usage:

+

+  -- Declare Atc_Ground
+
+  Atc_Ground = ATC_GROUND_UNIVERSAL:New()
+  
+  -- Then use one of these methods...
+
+  Atc_Ground:SetMaximumKickSpeed( UTILS.KmphToMps( 80 ) ) -- Kick the players at 80 kilometers per hour
+
+  Atc_Ground:SetMaximumKickSpeed( UTILS.MiphToMps( 100 ) ) -- Kick the players at 100 miles per hour
+
+  Atc_Ground:SetMaximumKickSpeed( 24 ) -- Kick the players at 24 meters per second ( 24 * 3.6 = 86.4 kilometers per hour )
+
+ +
+ +
+
+ +
+ + + +

Set the maximum kick speed in kilometers per hour (Kmph) until the player gets kicked.

+ + +

There are no warnings given if this speed is reached, and is to prevent players to take off from the airbase! +An airbase can be specified to set the maximum kick speed for.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + MaximumKickSpeed +

+
+
+ +

Set the speed in Kmph.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +

Atc_Ground:SetMaximumKickSpeedKmph( 150 ) -- Kick the players at 150 kilometers per hour

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

Set the maximum kick speed in miles per hour (Miph) until the player gets kicked.

+ + +

There are no warnings given if this speed is reached, and is to prevent players to take off from the airbase! +An airbase can be specified to set the maximum kick speed for.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameters:

+
+
+

+ #number + MaximumKickSpeedMiph +

+
+
+ +

Set the speed in Mph.

+ +
+
+
+
+

+ #string + Airbase +

+
+
+ +

(optional) The airbase name to set the kick speed for.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +

Atc_Ground:SetMaximumKickSpeedMiph( 100 ) -- Kick the players at 100 miles per hour

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

Smoke the airbases runways.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameter:

+
+
+

+ Utilities.Utils#SMOKECOLOR + SmokeColor +

+
+
+ +

The color of the smoke around the runways.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Start SCHEDULER for ATC_GROUND_UNIVERSAL object.

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Parameter:

+
+
+

+ RepeatScanSeconds +

+
+
+ +

Time in second for defining occurency of alerts.

+ +
+
+

Return value:

+
+ +
+ +

self

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

[Internal] Monitoring function

+ +
+
+

Defined in:

+
+

ATC_GROUND_UNIVERSAL

+
+

Return value:

+
+ +
+ +

self

+ +
+
+
+ +
+
+ +
+

Field(s)

+
+
+ + +
+
+ + +
+
+
+ + #table +ATC_GROUND_UNIVERSAL.Airbases + + + +
+ +
+
+
+ + #string +ATC_GROUND_UNIVERSAL.ClassName + + + +
+ +
+
+
+ + #number +ATC_GROUND_UNIVERSAL.KickSpeed + + + +
+ +
+
+ + +
+
+ + +
+
+
+ + #string +ATC_GROUND_UNIVERSAL.Version + + + +
+ +
+
+

Function(s)

+
+
+ + + +

Clear the state of an object.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

The object that holds the Value set by the Key.

+ +
+
+
+
+

+ StateName +

+
+
+ +

The key that is should be cleared.

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

Creation of a Birth Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

+ +
+
+
+
+

+ #string + IniUnitName +

+
+
+ +

The initiating unit name.

+ +
+
+
+
+

+ place +

+
+
+

+
+
+
+
+

+ subplace +

+
+
+

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

Creation of a Crash Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

+ +
+
+
+
+

+ IniObjectCategory +

+
+
+

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

Creation of a Dead Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Wrapper.Unit#UNIT + PlayerUnit +

+
+
+ +

The aircraft unit the player entered.

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

Creation of a Remove Unit Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Creation of a Takeoff Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Log an exception which will be traced always.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Returns the event dispatcher

+ +
+
+

Defined in:

+ +

Return value:

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

Remove all subscribed events

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#BASE:

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

Trace a function call.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function call level 2.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function call level 3.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Get the ClassID of the class instance.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassID of the class instance.

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

Get the ClassName of the class instance.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassName of the class instance.

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

Get the ClassName + ClassID of the class instance.

+ + +

The ClassName + ClassID is formatted as '%s#%09d'.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassName + ClassID of the class instance.

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

Get the Class Event processing Priority.

+ + +

The Event processing Priority is a number from 1 to 10, +reflecting the order of the classes subscribed to the Event to be processed.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#number:

+
+
+ +

The Event processing Priority.

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

This is the worker method to retrieve the Parent class.

+ + +

Note that the Parent class must be passed to call the parent class method.

+ +
self:GetParent(self):ParentMethod()
+
+ + + +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #BASE + Child +

+
+
+ +

This is the Child class from which the Parent class needs to be retrieved.

+ +
+
+
+
+

+ #BASE + FromClass +

+
+
+ +

(Optional) The class from which to get the parent.

+ +
+
+

Return value:

+
+
+

#BASE:

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

Get a Value given a Key from the Object.

+ + +

Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

The object that holds the Value set by the Key.

+ +
+
+
+
+

+ Key +

+
+
+ +

The key that is used to retrieve the value. Note that the key can be a #string, but it can also be any other type!

+ +
+
+

Return value:

+
+
+
+
+ +

The Value retrieved or nil if the Key was not found and thus the Value could not be retrieved.

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

Subscribe to a DCS Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Core.Event#EVENTS + EventID +

+
+
+ +

Event ID.

+ +
+
+
+
+

+ #function + EventFunction +

+
+
+ +

(optional) The function to be called when the event occurs for the unit.

+ +
+
+

Return value:

+
+
+

#BASE:

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

Log an information which will be traced always.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

This is the worker method to inherit from a parent class.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Child +

+
+
+ +

is the Child class that inherits.

+ +
+
+
+
+

+ #BASE + Parent +

+
+
+ +

is the Parent class that the Child inherits from.

+ +
+
+

Return value:

+
+
+

#BASE:

+
+
+ +

Child

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

This is the worker method to check if an object is an (sub)instance of a class.

+ + + +

Examples:

+ +
    +
  • ZONE:New( 'some zone' ):IsInstanceOf( ZONE ) will return true

  • +
  • ZONE:New( 'some zone' ):IsInstanceOf( 'ZONE' ) will return true

  • +
  • ZONE:New( 'some zone' ):IsInstanceOf( 'zone' ) will return true

  • +
  • ZONE:New( 'some zone' ):IsInstanceOf( 'BASE' ) will return true

  • +
  • ZONE:New( 'some zone' ):IsInstanceOf( 'GROUP' ) will return false

  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ ClassName +

+
+
+ +

is the name of the class or the class itself to run the check against

+ +
+
+

Return value:

+
+
+

#boolean:

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

Enquires if tracing is on (for the class).

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#boolean:

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

BASE constructor.

+ + + +

This is an example how to use the BASE:New() constructor in a new class definition when inheriting from BASE.

+ +
function EVENT:New()
+  local self = BASE:Inherit( self, BASE:New() ) -- #EVENT
+  return self
+end
+
+ + +
+
+

Defined in:

+ +

Return value:

+
+
+

#BASE:

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

Occurs when an object is completely destroyed.

+ + +

initiator : The unit that is was destroyed.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

BDA.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a ground unit captures either an airbase or a farp.

+ + +

initiator : The unit that captured the base. +place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any object is spawned into the mission.

+ + +

initiator : The unit that was spawned.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any aircraft crashes into the ground and is completely destroyed.

+ + +

initiator : The unit that has crashed.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an object is dead.

+ + +

initiator : The unit that is dead.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Unknown precisely what creates this event, likely tied into newer damage model.

+ + +

Will update this page when new information become available.

+ +
    +
  • initiator: The unit that had the failure.
  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Discard chair after ejection.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a pilot ejects from an aircraft +initiator : The unit that has ejected

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any aircraft shuts down its engines.

+ + +

initiator : The unit that is stopping its engines..

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any aircraft starts its engines.

+ + +

initiator : The unit that is starting its engines..

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs whenever an object is hit by a weapon.

+ + +

initiator : The unit object the fired the weapon. +weapon: Weapon object that hit the target. +target: The Object that was hit.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any system fails on a human controlled aircraft.

+ + +

initiator : The unit that had the failure.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs on the death of a unit.

+ + +

Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs.

+ +
    +
  • initiator: The unit that killed the target.
  • +
  • target: Target Object
  • +
  • weapon: Weapon Object
  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an aircraft lands at an airbase, farp or ship +initiator : The unit that has landed.

+ + +

place: Object that the unit landed on. Can be an Airbase Object, FARP, or Ships.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs shortly after the landing animation of an ejected pilot touching the ground and standing up.

+ + +

Event does not occur if the pilot lands in the water and sub combs to Davey Jones Locker.

+ +
    +
  • initiator: Static object representing the ejected pilot. Place : Aircraft that the pilot ejected from.
  • +
  • place: may not return as a valid object if the aircraft has crashed into the ground and no longer exists.
  • +
  • subplace: is always 0 for unknown reasons.
  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Landing quality mark.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a new mark was added.

+ + +

MarkID: ID of the mark.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mark text was changed.

+ + +

MarkID: ID of the mark.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mark was removed.

+ + +

MarkID: ID of the mark.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mission ends.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mission starts.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Weapon add.

+ + +

Fires when entering a mission per pylon with the name of the weapon (double pylons not counted, infinite wep reload not counted.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when the pilot of an aircraft is killed.

+ + +

Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane. +initiator : The unit that the pilot has died in.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a player enters a slot and takes control of an aircraft.

+ + +

NOTE: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event. +initiator : The unit that is being taken control of.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any player assumes direct control of a unit.

+ + +

initiator : The unit that is being taken control of.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any player relieves control of a unit to the AI.

+ + +

initiator : The unit that the player left.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an aircraft connects with a tanker and begins taking on fuel.

+ + +

initiator : The unit that is receiving fuel.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an aircraft is finished taking fuel.

+ + +

initiator : The unit that was receiving fuel.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any modification to the "Score" as seen on the debrief menu would occur.

+ + +

There is no information on what values the score was changed to. Event is likely similar to player_comment in this regard.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any unit stops firing its weapon.

+ + +

Event will always correspond with a shooting start event. +initiator : The unit that was doing the shooting.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any unit begins firing a weapon that has a high rate of fire.

+ + +

Most common with aircraft cannons (GAU-8), auto cannons, and machine guns. +initiator : The unit that is doing the shooting. +target: The unit that is being targeted.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs whenever any unit in a mission fires a weapon.

+ + +

But not any machine gun or auto cannon based weapon, those are handled by EVENT.ShootingStart.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an aircraft takes off from an airbase, farp, or ship.

+ + +

initiator : The unit that took off. +place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Trigger zone.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when the game thinks an object is destroyed.

+ + + +
    +
  • initiator: The unit that is was destroyed.
  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Schedule a new time event.

+ + +

Note that the schedule will only take place if the scheduler is started. Even for a single schedule event, the scheduler needs to be started also.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #number + Start +

+
+
+ +

Specifies the amount of seconds that will be waited before the scheduling is started, and the event function is called.

+ +
+
+
+
+

+ #function + SchedulerFunction +

+
+
+ +

The event function to be called when a timer event occurs. The event function needs to accept the parameters specified in SchedulerArguments.

+ +
+
+
+
+

+ #table + ... +

+
+
+ +

Optional arguments that can be given as part of scheduler. The arguments need to be given as a table { param1, param 2, ... }.

+ +
+
+

Return value:

+
+
+

#number:

+
+
+ +

The ScheduleID of the planned schedule.

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

Schedule a new time event.

+ + +

Note that the schedule will only take place if the scheduler is started. Even for a single schedule event, the scheduler needs to be started also.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #number + Start +

+
+
+ +

Specifies the amount of seconds that will be waited before the scheduling is started, and the event function is called.

+ +
+
+
+
+

+ #number + Repeat +

+
+
+ +

Specifies the interval in seconds when the scheduler will call the event function.

+ +
+
+
+
+

+ #number + RandomizeFactor +

+
+
+ +

Specifies a randomization factor between 0 and 1 to randomize the Repeat.

+ +
+
+
+
+

+ #number + Stop +

+
+
+ +

Specifies the amount of seconds when the scheduler will be stopped.

+ +
+
+
+
+

+ #function + SchedulerFunction +

+
+
+ +

The event function to be called when a timer event occurs. The event function needs to accept the parameters specified in SchedulerArguments.

+ +
+
+
+
+

+ #table + ... +

+
+
+ +

Optional arguments that can be given as part of scheduler. The arguments need to be given as a table { param1, param 2, ... }.

+ +
+
+

Return value:

+
+
+

#number:

+
+
+ +

The ScheduleID of the planned schedule.

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

Stops the Schedule.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #function + SchedulerFunction +

+
+
+ +

The event function to be called when a timer event occurs. The event function needs to accept the parameters specified in SchedulerArguments.

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

Set the Class Event processing Priority.

+ + +

The Event processing Priority is a number from 1 to 10, +reflecting the order of the classes subscribed to the Event to be processed.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + EventPriority +

+
+
+ +

The Event processing Priority.

+ +
+
+

Return value:

+
+
+

#BASE:

+
+
+ +

self

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

Set a state or property of the Object given a Key and a Value.

+ + +

Note that if the Object is destroyed, set to nil, or garbage collected, then the Values and Keys will also be gone.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

The object that will hold the Value set by the Key.

+ +
+
+
+
+

+ Key +

+
+
+ +

The key that is used as a reference of the value. Note that the key can be a #string, but it can also be any other type!

+ +
+
+
+
+

+ Value +

+
+
+ +

The value to is stored in the object.

+ +
+
+

Return value:

+
+
+
+
+ +

The Value set.

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

Trace a function logic level 1.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function logic level 2.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function logic level 3.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace all methods in MOOSE

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #boolean + TraceAll +

+
+
+ +

true = trace all methods in MOOSE.

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

Set tracing for a class

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #string + Class +

+
+
+

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

Set tracing for a specific method of class

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + Class +

+
+
+

+
+
+
+
+

+ #string + Method +

+
+
+

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

Set trace level

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + Level +

+
+
+

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

Set trace off.

+ +
+
+

Defined in:

+ +

Usage:

+
-- Switch the tracing Off
+BASE:TraceOff()
+ +
+ +
+
+ +
+ + + +

Set trace on.

+ +
+
+

Defined in:

+ +

Usage:

+
-- Switch the tracing On
+BASE:TraceOn()
+ +
+ +
+
+ +
+ + + +

Set trace on or off +Note that when trace is off, no BASE.Debug statement is performed, increasing performance! +When Moose is loaded statically, (as one file), tracing is switched off by default.

+ + +

So tracing must be switched on manually in your mission if you are using Moose statically. +When moose is loading dynamically (for moose class development), tracing is switched on by default.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #boolean + TraceOnOff +

+
+
+ +

Switch the tracing on or off.

+ +
+
+

Usage:

+

+  -- Switch the tracing On
+  BASE:TraceOnOff( true )
+
+  -- Switch the tracing Off
+  BASE:TraceOnOff( false )
+
+ +
+ +
+
+ +
+ + + +

UnSubscribe to a DCS event.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTS + EventID +

+
+
+ +

Event ID.

+ +
+
+

Return value:

+
+
+

#BASE:

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

Trace a function call.

+ + +

This function is private.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

+ +
+
+
+
+

+ DebugInfoCurrentParam +

+
+
+

+
+
+
+
+

+ DebugInfoFromParam +

+
+
+

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

Trace a function logic.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

+ +
+
+
+
+

+ DebugInfoCurrentParam +

+
+
+

+
+
+
+
+

+ DebugInfoFromParam +

+
+
+

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

TODO: Complete DCS#Event structure. +- The main event handling function... This function captures all events generated for the class. + @param #BASE self + @param DCS#Event event

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ event +

+
+
+

+
+
+
+ +
+
+
diff --git a/Documentation/Functional.Designate.html b/Documentation/Functional.Designate.html index 6d9d66455..f0c6998a0 100644 --- a/Documentation/Functional.Designate.html +++ b/Documentation/Functional.Designate.html @@ -3455,6 +3455,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -6623,6 +6634,17 @@ Designate:SetFlashStatusMenu( false ) + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -7433,6 +7455,17 @@ Designate:SetFlashStatusMenu( false ) + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -8213,6 +8246,17 @@ Designate:SetFlashStatusMenu( false ) + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
@@ -9885,6 +9929,17 @@ Designate:SetFlashStatusMenu( false ) + + + +
+
+ + #table +DESIGNATE.LaserCodes + + +
diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index 0be88faf5..1723a7a19 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -18901,6 +18901,28 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +DETECTION_BASE.DetectedItemCount + + + +
+ +
+
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -19050,7 +19072,7 @@ When moose is loading dynamically (for moose class development), tracing is swit
- #number + DETECTION_BASE.RefreshTimeInterval @@ -23582,6 +23604,28 @@ zones that reflect cloudy areas where detected units may not be so easily visual +
+ +
+
+
+ + #number +DETECTION_BASE.DetectedItemCount + + + +
+ +
+
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -23731,7 +23775,7 @@ zones that reflect cloudy areas where detected units may not be so easily visual
- #number + DETECTION_BASE.RefreshTimeInterval @@ -25328,6 +25372,28 @@ zones that reflect cloudy areas where detected units may not be so easily visual +
+ +
+
+
+ + #number +DETECTION_BASE.DetectedItemCount + + + +
+ +
+
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -25477,7 +25543,7 @@ zones that reflect cloudy areas where detected units may not be so easily visual
- #number + DETECTION_BASE.RefreshTimeInterval diff --git a/Documentation/Functional.Mantis.html b/Documentation/Functional.Mantis.html index 45cc60254..c5faf5903 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -3345,6 +3345,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

switch alarm state RED

+
@@ -6996,6 +6999,9 @@ E.g. `mymantis:SetAdvancedMode(true, 90)` + +

switch alarm state RED

+ diff --git a/Documentation/Functional.Rat.html b/Documentation/Functional.Rat.html index bb7b3e2ae..7d2053e4d 100644 --- a/Documentation/Functional.Rat.html +++ b/Documentation/Functional.Rat.html @@ -3369,6 +3369,12 @@ manager:Stop(7200)

RAT.termtype

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

+ + + +

RAT.type

+ + @@ -4336,30 +4342,6 @@ 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.skill

- - @@ -6729,6 +6711,17 @@ 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 + + +
@@ -14609,6 +14602,17 @@ Initializes the ratcraft array and group menu.

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

+ + + +
+
+ + +RAT.type + + +
@@ -20599,6 +20603,17 @@ 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 8685881d1..d0522797b 100644 --- a/Documentation/Functional.Scoring.html +++ b/Documentation/Functional.Scoring.html @@ -2983,7 +2983,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + SCORING.penaltyoncoalitionchange @@ -5503,7 +5503,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 a4ffd5404..fcb5a0ddd 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -38819,7 +38819,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

Set case to that of lead.

+

Set current case.

@@ -38901,17 +38901,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 - - -
@@ -39069,9 +39058,6 @@ When moose is loading dynamically (for moose class development), tracing is swit - -

Set Stable Hover

-
diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index 16282ce50..5678ff815 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -2337,6 +2337,12 @@ Create a late-activated single infantry unit as template in the mission editor a

CSAR.inTransitGroups

+ + + +

CSAR.index

+ + @@ -3762,11 +3768,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.allheligroupset + +

GROUP_SET of all helis

+
@@ -4002,17 +4011,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - #number -CSAR.downedpilotcounter - - -
@@ -4111,6 +4109,17 @@ 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 + + +
@@ -8776,11 +8785,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.allheligroupset + +

GROUP_SET of all helis

+
@@ -9016,17 +9028,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - #number -CSAR.downedpilotcounter - - -
@@ -9125,6 +9126,17 @@ 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 + + +
@@ -11097,11 +11109,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.allheligroupset + +

GROUP_SET of all helis

+
@@ -11337,17 +11352,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - #number -CSAR.downedpilotcounter - - -
@@ -11446,6 +11450,17 @@ 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 + + +
diff --git a/Documentation/Ops.CTLD.html b/Documentation/Ops.CTLD.html index 005ab4205..5951fd27d 100644 --- a/Documentation/Ops.CTLD.html +++ b/Documentation/Ops.CTLD.html @@ -7010,20 +7010,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
- - #number -CTLD.Engineers - - - - -

use as counter

- -
-
@@ -7064,7 +7050,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.FreeFMFrequencies @@ -7091,9 +7077,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Beacons

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

tables

-
@@ -7310,17 +7290,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #number -CTLD.TroopCounter - - -
@@ -7682,7 +7651,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

time to repair a unit/group

+

noob catch

@@ -14565,20 +14534,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
- - #number -CTLD.Engineers - - - - -

use as counter

- -
-
@@ -14619,7 +14574,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.FreeFMFrequencies @@ -14646,9 +14601,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Beacons

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

tables

-
@@ -14865,17 +14814,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #number -CTLD.TroopCounter - - -
@@ -15237,7 +15175,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

time to repair a unit/group

+

noob catch

@@ -16961,20 +16899,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
- - #number -CTLD.Engineers - - - - -

use as counter

- -
-
@@ -17015,7 +16939,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.FreeFMFrequencies @@ -17042,9 +16966,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Beacons

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

tables

-
@@ -17261,17 +17179,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #number -CTLD.TroopCounter - - -
@@ -17633,7 +17540,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

time to repair a unit/group

+

noob catch

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

template for a group of 10 paratroopers

+ + + +
+
+ + #number +CTLD_HERCULES.j + + +
@@ -30625,6 +30543,17 @@ There are two ways of airdropping:

template for a group of 10 paratroopers

+ + + +
+
+ + #number +CTLD_HERCULES.j + + +
diff --git a/Documentation/Tasking.Task.html b/Documentation/Tasking.Task.html index 75217c0a1..2995d3cbe 100644 --- a/Documentation/Tasking.Task.html +++ b/Documentation/Tasking.Task.html @@ -2831,17 +2831,6 @@ but can separately be modified later in your mission using the - - - -
-
- - -TASK.TaskControlMenu - - -
@@ -7478,17 +7467,6 @@ If the Unit is part of the Task, true is returned.

- - - -
-
- - -TASK.TaskControlMenu - - -
diff --git a/Documentation/Tasking.Task_A2A_Dispatcher.html b/Documentation/Tasking.Task_A2A_Dispatcher.html index 7666f92b4..cdb6c43f4 100644 --- a/Documentation/Tasking.Task_A2A_Dispatcher.html +++ b/Documentation/Tasking.Task_A2A_Dispatcher.html @@ -2824,7 +2824,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -3549,7 +3549,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -4725,7 +4725,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -6207,7 +6207,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_A2G_Dispatcher.html b/Documentation/Tasking.Task_A2G_Dispatcher.html index 923582c76..928560e30 100644 --- a/Documentation/Tasking.Task_A2G_Dispatcher.html +++ b/Documentation/Tasking.Task_A2G_Dispatcher.html @@ -3094,14 +3094,11 @@ 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

-
@@ -3674,14 +3671,11 @@ 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

-
@@ -4864,14 +4858,11 @@ 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

-
@@ -6360,14 +6351,11 @@ 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 0a1befd29..33252f2fa 100644 --- a/Documentation/Tasking.Task_Cargo.html +++ b/Documentation/Tasking.Task_Cargo.html @@ -3124,11 +3124,22 @@ based on the tasking capabilities defined in + +
+
+
diff --git a/Documentation/Tasking.Task_Cargo_Dispatcher.html b/Documentation/Tasking.Task_Cargo_Dispatcher.html index 266091269..e88d898b2 100644 --- a/Documentation/Tasking.Task_Cargo_Dispatcher.html +++ b/Documentation/Tasking.Task_Cargo_Dispatcher.html @@ -3098,6 +3098,50 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

+ + + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks + + + +
+ +
@@ -3112,7 +3156,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table TASK_CARGO_DISPATCHER.DefaultDeployZones @@ -4177,6 +4221,50 @@ This method can only be used once!

Field(s)

+ + + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks + + + +
+ +
@@ -4191,7 +4279,7 @@ This method can only be used once!

- + #table TASK_CARGO_DISPATCHER.DefaultDeployZones @@ -5035,6 +5123,50 @@ This method can only be used once!

Field(s)

+ + + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks + + + +
+ +
@@ -5049,7 +5181,7 @@ This method can only be used once!

- + #table TASK_CARGO_DISPATCHER.DefaultDeployZones @@ -6528,6 +6660,50 @@ This method can only be used once!

Field(s)

+ + + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks + + + +
+ +
@@ -6542,7 +6718,7 @@ This method can only be used once!

- + #table TASK_CARGO_DISPATCHER.DefaultDeployZones diff --git a/Documentation/Utils.FiFo.html b/Documentation/Utils.FiFo.html index 5df14ebfa..170fffb6c 100644 --- a/Documentation/Utils.FiFo.html +++ b/Documentation/Utils.FiFo.html @@ -7385,6 +7385,17 @@ When moose is loading dynamically (for moose class development), tracing is swit +
+ +
+
+
+ + #number +LIFO.uniquecounter + + +
@@ -8234,6 +8245,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 43ae58637..e883790a0 100644 --- a/Documentation/Wrapper.Group.html +++ b/Documentation/Wrapper.Group.html @@ -4822,18 +4822,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -9066,18 +9055,7 @@ So each unit of the group is respawned at exactly the same parking spot as it cu - -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -17876,18 +17854,7 @@ Note that when the WayPoint parameter is used, the new start mission waypoint of - -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone @@ -21676,18 +21643,7 @@ Coordinates are dependent on the position of the maps origin.

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

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

- -
-
-
- - -GROUP.InitRespawnRandomizePositionOuter +GROUP.InitRespawnRandomizePositionZone diff --git a/Documentation/Wrapper.Marker.html b/Documentation/Wrapper.Marker.html index cbd6b1983..a50fb7999 100644 --- a/Documentation/Wrapper.Marker.html +++ b/Documentation/Wrapper.Marker.html @@ -2908,28 +2908,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -3014,7 +2992,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean -MARKER.togroup +MARKER.toall @@ -5014,28 +4992,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -5120,7 +5076,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean -MARKER.togroup +MARKER.toall @@ -6628,28 +6584,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

-
- -
-
-
- - -MARKER.groupid - - - -
- -
-
-
- - -MARKER.groupname - - -
@@ -6734,7 +6668,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean -MARKER.togroup +MARKER.toall diff --git a/Documentation/Wrapper.Positionable.html b/Documentation/Wrapper.Positionable.html index 541ad822d..b2636b3a9 100644 --- a/Documentation/Wrapper.Positionable.html +++ b/Documentation/Wrapper.Positionable.html @@ -3538,6 +3538,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+ @@ -7250,6 +7261,17 @@ Coordinates are dependent on the position of the maps origin.

+
+ +
+ @@ -7827,6 +7849,17 @@ If the Identifiable is alive, true is returned.

+
+ +
+ @@ -8010,6 +8043,17 @@ If the Identifiable is alive, true is returned.

+
+ +
+