diff --git a/Documentation/Core.Settings.html b/Documentation/Core.Settings.html index 51e3ac001..6e3a3b32e 100644 --- a/Documentation/Core.Settings.html +++ b/Documentation/Core.Settings.html @@ -2785,11 +2785,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + SETTINGS.A2GSystem + +

BASE:E( {PlayerUnit:GetName(), A2GSystem } )

+
@@ -2829,7 +2832,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SETTINGS.Metric @@ -4953,11 +4956,14 @@ It is advised to use this method at the start of the mission.

- #string + SETTINGS.A2GSystem + +

BASE:E( {PlayerUnit:GetName(), A2GSystem } )

+
@@ -4997,7 +5003,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 8e71f97d9..397360d9a 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -2995,13 +2995,19 @@ and any spaces before and after the resulting name are removed.

-

SPAWN.hidden

+

SPAWN.communication

-

SPAWN.speed

+

SPAWN.frequency

+ + + + + +

SPAWN.uncontrolled

@@ -3678,14 +3684,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.

-
@@ -3766,9 +3769,6 @@ 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.

-
@@ -3835,20 +3835,6 @@ 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.

-
@@ -3882,6 +3868,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + +SPAWN.SpawnGrouping + + +
@@ -4061,9 +4058,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Overwrite unit names by default with group name.

- @@ -4085,13 +4079,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.SpawnInitPosition +SPAWN.SpawnInitLivery - -

self:T2( { self.SpawnTemplatePrefix, Vec2} )

-
@@ -4099,13 +4090,56 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.SpawnInitSADL +SPAWN.SpawnInitModex + + + +
+ + +
+
+ + +SPAWN.SpawnInitModexPostfix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPrefix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModu + + + +
+ +
+
+
+ + +SPAWN.SpawnInitPosition -

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

+

self:T2( { self.SpawnTemplatePrefix, Vec2} )

@@ -4331,17 +4365,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- - -
-
- - #boolean -SPAWN.SpawnUnControlled - - -
@@ -4409,7 +4432,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.

@@ -4490,7 +4513,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.hidden +SPAWN.communication @@ -4501,7 +4524,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.speed +SPAWN.frequency + + + +
+ +
+
+
+ + +SPAWN.uncontrolled @@ -10289,14 +10323,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.

-
@@ -10377,9 +10408,6 @@ 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.

-
@@ -10446,20 +10474,6 @@ 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.

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

+ + +
+
+ + +SPAWN.SpawnGrouping + + +
@@ -10672,9 +10697,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

Overwrite unit names by default with group name.

- @@ -10696,13 +10718,10 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

-SPAWN.SpawnInitPosition +SPAWN.SpawnInitLivery - -

self:T2( { self.SpawnTemplatePrefix, Vec2} )

- @@ -10710,13 +10729,56 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

-SPAWN.SpawnInitSADL +SPAWN.SpawnInitModex + + + + + + +
+
+ + +SPAWN.SpawnInitModexPostfix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPrefix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModu + + + +
+ +
+
+
+ + +SPAWN.SpawnInitPosition -

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

+

self:T2( { self.SpawnTemplatePrefix, Vec2} )

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

- -
-
-
- - #boolean -SPAWN.SpawnUnControlled - - -
@@ -11020,7 +11071,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.

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

-SPAWN.hidden +SPAWN.communication @@ -11112,7 +11163,18 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

-SPAWN.speed +SPAWN.frequency + + + + + + +
+
+ + +SPAWN.uncontrolled diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index 6ab1fc99e..ed73c4151 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -1961,6 +1961,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

+ + @@ -3050,7 +3068,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table SPAWNSTATIC.TemplateStaticUnit @@ -3077,6 +3095,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+ + +
+
+ + +
+
+
@@ -4911,7 +4962,7 @@ Handy if you spawn from cargo statics which have resources already set.

- + #table SPAWNSTATIC.TemplateStaticUnit @@ -4938,6 +4989,39 @@ Handy if you spawn from cargo statics which have resources already set.

+
+ +
+
+ + +
+
+ + +
+
+
diff --git a/Documentation/Core.Spot.html b/Documentation/Core.Spot.html index 410ab3336..6b892330d 100644 --- a/Documentation/Core.Spot.html +++ b/Documentation/Core.Spot.html @@ -2742,39 +2742,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - -
@@ -4058,39 +4025,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - -
@@ -5646,39 +5580,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - -
diff --git a/Documentation/Functional.ATC_Ground.html b/Documentation/Functional.ATC_Ground.html index a6c93529b..e3404c33d 100644 --- a/Documentation/Functional.ATC_Ground.html +++ b/Documentation/Functional.ATC_Ground.html @@ -3876,7 +3876,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + ATC_GROUND.Airbases @@ -4464,7 +4464,7 @@ An airbase can be specified to set the maximum kick speed for.

- #table + ATC_GROUND.Airbases diff --git a/Documentation/Functional.Autolase.html b/Documentation/Functional.Autolase.html index 079d65928..ebae0347b 100644 --- a/Documentation/Functional.Autolase.html +++ b/Documentation/Functional.Autolase.html @@ -2312,7 +2312,7 @@
- #table + AUTOLASE.CurrentLasing @@ -2389,7 +2389,7 @@
- #table + AUTOLASE.GroupsByThreat @@ -2405,39 +2405,6 @@ -
- -
-
-
- - #number -AUTOLASE.LaseDistance - - - -
- -
-
-
- - #number -AUTOLASE.LaseDuration - - - -
- -
-
-
- - -AUTOLASE.LaserCodes - - -
@@ -2449,17 +2416,6 @@ -
- -
-
-
- - #number -AUTOLASE.MonitorFrequency - - -
@@ -2548,17 +2504,6 @@ -
- -
-
-
- - #number -AUTOLASE.RoundingPrecision - - -
@@ -2573,39 +2518,6 @@

set up SRS

-
- -
-
-
- - #number -AUTOLASE.SRSFreq - - - -
- -
-
-
- - -AUTOLASE.SRSMod - - - -
- -
-
-
- - #string -AUTOLASE.SRSPath - - -
@@ -2623,7 +2535,7 @@
- #table + AUTOLASE.UnitsByThreat @@ -2672,17 +2584,6 @@ -
- -
-
-
- - #number -AUTOLASE.cooldowntime - - -
@@ -2694,17 +2595,6 @@ - - - -
-
- - #boolean -AUTOLASE.forcecooldown - - -
@@ -2716,17 +2606,6 @@ - - - -
-
- - #number -AUTOLASE.lasingindex - - -
@@ -2747,33 +2626,11 @@
- #number -AUTOLASE.maxlasing - - -
- -
-
-
- - #number AUTOLASE.minthreatlevel -
- -
-
-
- - #boolean -AUTOLASE.notifypilots - - -
@@ -2796,17 +2653,6 @@ - - - -
-
- - -AUTOLASE.smokecolor - - -
@@ -2824,7 +2670,7 @@
- #boolean + AUTOLASE.smoketargets @@ -2835,7 +2681,7 @@
- #table + AUTOLASE.targetsperrecce diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index 8b6b0b87d..d592e9d1f 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -20138,17 +20138,6 @@ When moose is loading dynamically (for moose class development), tracing is swit -
- -
-
-
- - #boolean -DETECTION_BASE.Locking - - -
@@ -24903,17 +24892,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual -
- -
-
-
- - #boolean -DETECTION_BASE.Locking - - -
@@ -26689,17 +26667,6 @@ zones that reflect cloudy areas where detected units may not be so easily visual - - - -
-
- - #boolean -DETECTION_BASE.Locking - - -
diff --git a/Documentation/Functional.Mantis.html b/Documentation/Functional.Mantis.html index eab00ca85..f0f6e3c14 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -4368,6 +4368,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #table +MANTIS.AcceptZones + + +
@@ -4412,6 +4423,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #table +MANTIS.ConflictZones + + +
@@ -4566,6 +4588,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The ME name of the HQ object

+ + + +
+
+ + #table +MANTIS.InboundARMs + + + +
+ +
+
+
+ + #table +MANTIS.LastThreatEval + + + +
+ +
+
+
+ + #table +MANTIS.RejectZones + + +
@@ -4605,7 +4660,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Long @@ -4616,7 +4671,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Medium @@ -4627,7 +4682,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_PointDef @@ -4638,7 +4693,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table MANTIS.SAM_Table_Short @@ -5133,6 +5188,61 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Log SAM status in dcs.log every cycle if true.

+
+ +
+
+
+ + #number +MANTIS.maxclassic + + + +
+ +
+
+
+ + #number +MANTIS.maxlongrange + + + +
+ +
+
+
+ + #number +MANTIS.maxmidrange + + + +
+ +
+
+
+ + #number +MANTIS.maxpointdefrange + + + +
+ +
+
+
+ + #number +MANTIS.maxshortrange + + +
@@ -5202,9 +5312,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

switch alarm state RED

-
@@ -9974,6 +10081,17 @@ E.g. `mymantis:SetAdvancedMode(true, 90)` +
+ +
+
+
+ + #table +MANTIS.AcceptZones + + +
@@ -10018,6 +10136,17 @@ E.g. `mymantis:SetAdvancedMode(true, 90)` +
+ +
+
+
+ + #table +MANTIS.ConflictZones + + +
@@ -10172,6 +10301,39 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

The ME name of the HQ object

+ + + +
+
+ + #table +MANTIS.InboundARMs + + + +
+ +
+
+
+ + #table +MANTIS.LastThreatEval + + + +
+ +
+
+
+ + #table +MANTIS.RejectZones + + +
@@ -10211,7 +10373,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Long @@ -10222,7 +10384,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Medium @@ -10233,7 +10395,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_PointDef @@ -10244,7 +10406,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- + #table MANTIS.SAM_Table_Short @@ -10739,6 +10901,61 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

Log SAM status in dcs.log every cycle if true.

+
+ +
+
+
+ + #number +MANTIS.maxclassic + + + +
+ +
+
+
+ + #number +MANTIS.maxlongrange + + + +
+ +
+
+
+ + #number +MANTIS.maxmidrange + + + +
+ +
+
+
+ + #number +MANTIS.maxpointdefrange + + + +
+ +
+
+
+ + #number +MANTIS.maxshortrange + + +
@@ -10808,9 +11025,6 @@ E.g. `mymantis:SetAdvancedMode(true, 90)` - -

switch alarm state RED

-
diff --git a/Documentation/Functional.Movement.html b/Documentation/Functional.Movement.html index cc984a7ef..d235cae4e 100644 --- a/Documentation/Functional.Movement.html +++ b/Documentation/Functional.Movement.html @@ -2189,20 +2189,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

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

Contains the counter how many units are currently alive.

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

Field(s)

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

Contains the counter how many units are currently alive.

- -
- -
diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index 8be5c51ae..6fd25531e 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -4579,13 +4579,19 @@ and any spaces before and after the resulting name are removed.

-

RAT.hidden

+

RAT.communication

-

RAT.speed

+

RAT.frequency

+ + + + + +

RAT.uncontrolled

diff --git a/Documentation/Functional.Scoring.html b/Documentation/Functional.Scoring.html index faf2dbe13..684d84f49 100644 --- a/Documentation/Functional.Scoring.html +++ b/Documentation/Functional.Scoring.html @@ -2899,17 +2899,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
-
- - SCORING.AutoSavePath @@ -3154,7 +3143,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.penaltyoncoalitionchange @@ -3165,7 +3154,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.penaltyonfratricide @@ -6367,17 +6356,6 @@ The scale magnifies the scores given to the players.

- -
-
-
- - SCORING.AutoSavePath @@ -6622,7 +6600,7 @@ The scale magnifies the scores given to the players.

- + #boolean SCORING.penaltyoncoalitionchange @@ -6633,7 +6611,7 @@ The scale magnifies the scores given to the players.

- + #boolean SCORING.penaltyonfratricide diff --git a/Documentation/Functional.ZoneCaptureCoalition.html b/Documentation/Functional.ZoneCaptureCoalition.html index 648104240..236a88f11 100644 --- a/Documentation/Functional.ZoneCaptureCoalition.html +++ b/Documentation/Functional.ZoneCaptureCoalition.html @@ -2118,6 +2118,20 @@ We start the monitoring after 5 seconds, and will repeat every 30 seconds a chec
+ZONE_CAPTURE_COALITION.HitTimeLast + + + + +

Update last hit time.

+ +
+ +
+
+
+ + ZONE_CAPTURE_COALITION.HitsOn diff --git a/Documentation/Ops.Airboss.html b/Documentation/Ops.Airboss.html index f05823e0f..a38f29b9c 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -9831,6 +9831,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Radio queue of LSO.

+
+ +
+
+
+ + +AIRBOSS.RQLid + + +
@@ -9842,6 +9853,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Radio queue of marshal.

+
+ +
+
+
+ + +AIRBOSS.RQMid + + +
@@ -30478,6 +30500,17 @@ If removed flight is the section lead, we try to find a new leader.

Radio queue of LSO.

+
+ +
+
+
+ + +AIRBOSS.RQLid + + +
@@ -30489,6 +30522,17 @@ If removed flight is the section lead, we try to find a new leader.

Radio queue of marshal.

+
+ +
+
+
+ + +AIRBOSS.RQMid + + +
@@ -33602,6 +33646,17 @@ If removed flight is the section lead, we try to find a new leader.

Radio queue of LSO.

+
+ +
+
+
+ + +AIRBOSS.RQLid + + +
@@ -33613,6 +33668,17 @@ If removed flight is the section lead, we try to find a new leader.

Radio queue of marshal.

+
+ +
+
+
+ + +AIRBOSS.RQMid + + +
@@ -41874,7 +41940,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

VNAO Edit - Added

+

VNAO Edit - Added

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

VNAO Edit - Added

+

VNAO Edit - Added

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

VNAO Edit - Added

+

VNAO Edit - Added

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

Set case of f

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

Make player section lead if he was not before.

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

Set time stamp.

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

VNAO Edit - Added

+

VNAO Edit - Added

diff --git a/Documentation/Ops.ArmyGroup.html b/Documentation/Ops.ArmyGroup.html index 6dff6bebe..4901e6ece 100644 --- a/Documentation/Ops.ArmyGroup.html +++ b/Documentation/Ops.ArmyGroup.html @@ -2434,6 +2434,12 @@

ARMYGROUP:DestroyUnit(UnitName, Delay)

Destroy a unit of the group.

+ + + +

ARMYGROUP.EPLRS

+ + diff --git a/Documentation/Ops.Auftrag.html b/Documentation/Ops.Auftrag.html index 39b757e6f..54a2abf3d 100644 --- a/Documentation/Ops.Auftrag.html +++ b/Documentation/Ops.Auftrag.html @@ -7421,17 +7421,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Mission Ingress waypoint coordinate.

- - - -
-
- - -AUFTRAG.missionIngressCoordAlt - - -
@@ -23272,17 +23261,6 @@ will always return.

Mission Ingress waypoint coordinate.

- - - -
-
- - -AUFTRAG.missionIngressCoordAlt - - -
@@ -26697,17 +26675,6 @@ will always return.

Mission Ingress waypoint coordinate.

- - - -
-
- - -AUFTRAG.missionIngressCoordAlt - - -
diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index 1391f53dd..d1b60c930 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -2589,12 +2589,6 @@ Dropped troop noMessage and forcedesc parameters aren't saved.

CSAR.inTransitGroups

- - - -

CSAR.index

- - @@ -4156,7 +4150,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.FreeVHFFrequencies @@ -4646,11 +4640,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.csarUnits + +

table of CSAR unit names

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

Replacement woundedGroups

+ +
+ +
+
+
+ + #number +CSAR.downedpilotcounter + + +
@@ -4810,17 +4821,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 - - -
@@ -5037,6 +5037,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +
+
+ + #number +CSAR.rescuedpilots + + + + +

counter for saved pilots

+ +
+
@@ -5062,6 +5076,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+
+
+
+ + #number +CSAR.rescues + + + + +

counter for successful rescue landings at FARP/AFB/MASH

+ +
+
@@ -10608,7 +10636,7 @@ callsigns from playername or group name.

- + #table CSAR.FreeVHFFrequencies @@ -11098,11 +11126,14 @@ callsigns from playername or group name.

- + #table CSAR.csarUnits + +

table of CSAR unit names

+
@@ -11123,11 +11154,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

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

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

-
- -
-
-
- - -CSAR.index - - -
@@ -11489,6 +11523,20 @@ callsigns from playername or group name.

+
+
+
+ + #number +CSAR.rescuedpilots + + + + +

counter for saved pilots

+ +
+
@@ -11514,6 +11562,20 @@ callsigns from playername or group name.

+
+
+
+ + #number +CSAR.rescues + + + + +

counter for successful rescue landings at FARP/AFB/MASH

+ +
+
@@ -13267,7 +13329,7 @@ callsigns from playername or group name.

- + #table CSAR.FreeVHFFrequencies @@ -13757,11 +13819,14 @@ callsigns from playername or group name.

- + #table CSAR.csarUnits + +

table of CSAR unit names

+
@@ -13782,11 +13847,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

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

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

-
- -
-
-
- - -CSAR.index - - -
@@ -14148,6 +14216,20 @@ callsigns from playername or group name.

+
+
+
+ + #number +CSAR.rescuedpilots + + + + +

counter for saved pilots

+ +
+
@@ -14173,6 +14255,20 @@ callsigns from playername or group name.

+
+
+
+ + #number +CSAR.rescues + + + + +

counter for successful rescue landings at FARP/AFB/MASH

+ +
+
diff --git a/Documentation/Ops.CTLD.html b/Documentation/Ops.CTLD.html index bf099ac59..010e8a18f 100644 --- a/Documentation/Ops.CTLD.html +++ b/Documentation/Ops.CTLD.html @@ -1474,6 +1474,7 @@

Author: Applevangelist (Moose Version), Ciribob (original), Thanks to: Shadowze, Cammel (testing), bbirchnz (additional code!!)

Repack addition for crates: Raiden

Additional cool features: Lekaa

+

Localization: Applevangelist and Claude AI

@@ -1669,6 +1670,7 @@ Create the late-activated troops, vehicles, that will make up your deployable fo my_ctld.validateAndRepositionUnits = false -- Uses Disposition and other logic to find better ground positions for ground units avoiding trees, water, roads, runways, map scenery, statics and other units in the area. (Default is false) my_ctld.loadSavedCrates = true -- Load back crates (STATIC) from the save file. Useful for mission restart cleanup. (Default is true) my_ctld.UseC130LoadAndUnload = false -- When set to true, forces the C-130 player to use the C-130J built system to load the cargo onboard and to unload. (Default is false) + my_ctld.local = "en" -- Language locale to use, available are "en" (default), "de" and "fr"

2.1 CH-47 Chinook support

@@ -2173,69 +2175,6 @@ If you use units built by multiple templates, they will effectively double on lo -
- - -
- - - - - -

Global CTLD_CARGO

- -
-
-
-
- - #CTLD_CARGO -CTLD_CARGO - - - -
- -
-
- - - - - -

Global CTLD_ENGINEERING

- -
-
-
-
- - #CTLD_ENGINEERING -CTLD_ENGINEERING - - - -
- -
-
- - - - - -

Global CTLD_HERCULES

- -
-
-
-
- - #CTLD_HERCULES -CTLD_HERCULES - - -
@@ -2252,6 +2191,12 @@ If you use units built by multiple templates, they will effectively double on lo Fields and Methods inherited from CTLD Description + +

CTLD.AccessKey

+ + + +

CTLD:ActivateZone(Name, ZoneType, NewState)

@@ -2370,6 +2315,18 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD:AutoHoverLoad(Unit)

(Internal) Autoload if we can do crates, have capacity free and are in a load zone.

+ + + +

CTLD.BCFrequency

+ + + + + +

CTLD.BCModulation

+ + @@ -2508,6 +2465,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.CtldUnits

+ + + +

CTLD.Culture

+ + @@ -2604,6 +2567,18 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.FreeVHFFrequencies

+ + + +

CTLD.Frequency

+ + + + + +

CTLD.Gender

+ + @@ -2724,6 +2699,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD:IsUnitInZone(Unit, Zonetype)

(Internal) Function to see if a unit is in a specific zone type.

+ + + +

CTLD.Label

+ + @@ -2748,6 +2729,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.MenusDone

+ + + +

CTLD.Modulation

+ + @@ -2934,6 +2921,18 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.PackDistance

+ + + +

CTLD.PathToGoogleKey

+ + + + + +

CTLD.PathToSRS

+ + @@ -2946,6 +2945,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.PlayerTaskQueue

+ + + +

CTLD.Port

+ + @@ -3006,12 +3011,30 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD:RemoveStockUnits(Name, Number)

User - function to remove stock of a certain Units

+ + + +

CTLD.SRS

+ + + + + +

CTLD.SRSQueue

+ +

CTLD:SetOwnSetPilotGroups(Set)

User - Function to add onw SET_GROUP Set-up for pilot filtering and assignment.

+ + + +

CTLD:SetSRS(Frequency, Modulation, PathToSRS, Gender, Culture, Port, Voice, Volume, PathToGoogleKey, AccessKey, Backend, Provider)

+ +

[User] Set SRS TTS details - see Sound.SRS for details.SetSRS() will try to use as many attributes configured with Sound.SRS#MSRS.LoadConfigFile() as possible.

@@ -3168,6 +3191,18 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.VehicleMoveFormation

+ + + +

CTLD.Voice

+ + + + + +

CTLD.Volume

+ + @@ -3402,6 +3437,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD:_GetVehicleFormation()

(Internal) Function to get a vehicle formation for a moving group

+ + + +

CTLD:_InitLocalization()

+ +

[Internal] Init localization

@@ -3549,7 +3590,7 @@ If you use units built by multiple templates, they will effectively double on lo -

CTLD:_SendMessage(Text, Time, Clearscreen, Group)

+

CTLD:_SendMessage(Text, Time, Clearscreen, Group, Silent)

(Internal) Function to message a group.

@@ -3804,6 +3845,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.forcehoverload

+ + + +

CTLD.gettext

+ + @@ -3828,6 +3875,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.loadSavedCrates

+ + + +

CTLD.locale

+ + @@ -4104,6 +4157,12 @@ If you use units built by multiple templates, they will effectively double on lo

CTLD.useprefix

+ + + +

CTLD.usesrs

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

Type CTLD_CARGO

CTLD_CARGO -, extends Core.Base#BASE
@@ -5560,3107 +5618,22 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_CARGO Description

CTLD_CARGO:AddMark(Mark)

-

Add mark

-

CTLD_CARGO:AddStock(Number)

-

Add Stock.

-

CTLD_CARGO:AddUnitTypeName(UnitTypes)

-

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

-

CTLD_CARGO:CanLoadDirectly()

-

Query directly loadable.

-

CTLD_CARGO.CargoType

-

Enumerator of Type.

-

CTLD_CARGO.ClassName

-

Class name.

-

CTLD_CARGO.CratesNeeded

-

Crates needed to build.

-

CTLD_CARGO.DisplayName

-

Display name for menu/messages.

-

CTLD_CARGO.DontShowInMenu

-

Show this item in menu or not.

-

CTLD_CARGO.Enum

- -

CTLD_CARGO:GetCratesNeeded()

-

Query number of crates or troopsize.

-

CTLD_CARGO:GetDisplayName()

-

Query display name.

-

CTLD_CARGO:GetID()

-

Query ID.

-

CTLD_CARGO:GetLocation()

-

Query Location.

-

CTLD_CARGO:GetMark(Mark)

-

Get mark

-

CTLD_CARGO:GetMass()

-

Query Mass.

-

CTLD_CARGO:GetName()

-

Query Name.

-

CTLD_CARGO:GetNetMass()

-

Get overall mass of a cargo object, i.e.

-

CTLD_CARGO:GetPositionable()

-

Query type.

-

CTLD_CARGO:GetRelativeStock()

-

Get relative Stock.

-

CTLD_CARGO:GetStaticResourceMap()

-

Get Resource Map information table

-

CTLD_CARGO:GetStaticTypeAndShape()

-

Get the specific static type and shape from this CARGO if set.

-

CTLD_CARGO:GetStock()

-

Get Stock.

-

CTLD_CARGO:GetStock0()

-

Get Stock0.

-

CTLD_CARGO:GetSubCat()

-

Query Subcategory

-

CTLD_CARGO:GetTemplates()

-

Query Templates.

-

CTLD_CARGO:GetType()

-

Query type.

-

CTLD_CARGO.HasBeenDropped

-

True if dropped from heli.

-

CTLD_CARGO.HasBeenMoved

-

Flag for moving.

-

CTLD_CARGO:HasMoved()

-

Query has moved.

+

CTLD_CARGO.ID

-

ID of this cargo.

-

CTLD_CARGO.IsHercDrop

-

CTLD_CARGO:IsRepair()

-

Query crate type for REPAIR

-

CTLD_CARGO:IsStatic()

-

Query crate type for STATIC

-

CTLD_CARGO:Isloaded(loaded)

-

Query if cargo has been loaded.

-

CTLD_CARGO.LoadDirectly

-

Flag for direct loading.

-

CTLD_CARGO.Location

-

Location (if set) where to get this cargo item.

-

CTLD_CARGO.Mark

- -

CTLD_CARGO.Name

-

Name for menu.

-

CTLD_CARGO:New(ID, Name, Templates, Sorte, HasBeenMoved, LoadDirectly, CratesNeeded, Positionable, Dropped, PerCrateMass, Stock, Subcategory, DontShowInMenu, Location)

-

Function to create new CTLD_CARGO object.

-

CTLD_CARGO.NoMoveToZone

- -

CTLD_CARGO.PerCrateMass

-

Mass in kg.

CTLD_CARGO.Positionable

-

Representation of cargo in the mission.

-

CTLD_CARGO:RemoveStock(Number)

-

Remove Stock.

-

CTLD_CARGO.ResourceMap

-

Resource Map information table if it has been set for static cargo items.

-

CTLD_CARGO:SetDisplayName(DisplayName)

-

Set display name.

-

CTLD_CARGO:SetHasMoved(moved)

-

Set HasMoved.

-

CTLD_CARGO:SetStaticResourceMap(ResourceMap)

-

Add Resource Map information table

-

CTLD_CARGO:SetStaticTypeAndShape(TypeName, ShapeName, Category)

-

Add specific static type and shape to this CARGO.

-

CTLD_CARGO:SetStock(Number)

-

Set Stock.

-

CTLD_CARGO:SetWasDropped(dropped, isHercDrop)

-

Set WasDropped.

-

CTLD_CARGO.StaticCategory

-

Individual static category if set.

-

CTLD_CARGO.StaticShape

-

Individual shape if set.

-

CTLD_CARGO.StaticType

-

Individual type if set.

-

CTLD_CARGO.Stock

-

Number of builds available, -1 for unlimited.

-

CTLD_CARGO.Stock0

-

Initial stock, if any given.

-

CTLD_CARGO.Subcategory

-

Sub-category name.

-

CTLD_CARGO.Templates

-

Table of #POSITIONABLE objects.

-

CTLD_CARGO.TypeNames

-

Table of unit types able to pick this cargo up.

-

CTLD_CARGO:UnitCanCarry(Unit)

-

Check if a specific unit can carry this CARGO (restrict what types can pick this up).

-

CTLD_CARGO:WasDropped(hercOnly)

-

Query was dropped.

-

CTLD_CARGO:WipeMark()

-

Wipe mark

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from BASEDescription

CTLD_CARGO.ClassID

-

The ID number of the class.

-

CTLD_CARGO.ClassName

-

The name of the class.

-

CTLD_CARGO.ClassNameAndID

-

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

-

CTLD_CARGO:ClearState(Object, StateName)

-

Clear the state of an object.

-

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

-

Creation of a Birth Event.

-

CTLD_CARGO:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

-

Creation of a Crash Event.

-

CTLD_CARGO:CreateEventDead(EventTime, Initiator, IniObjectCategory)

-

Creation of a Dead Event.

-

CTLD_CARGO:CreateEventDynamicCargoLoaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

-

CTLD_CARGO:CreateEventDynamicCargoRemoved(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

-

CTLD_CARGO:CreateEventDynamicCargoUnloaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

-

CTLD_CARGO:CreateEventNewDynamicCargo(DynamicCargo)

-

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

-

CTLD_CARGO:CreateEventPlayerEnterAircraft(PlayerUnit)

-

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

-

CTLD_CARGO:CreateEventRemoveUnit(EventTime, Initiator)

-

Creation of a Remove Unit Event.

-

CTLD_CARGO:CreateEventTakeoff(EventTime, Initiator)

-

Creation of a Takeoff Event.

-

CTLD_CARGO:CreateEventUnitLost(EventTime, Initiator)

-

Creation of a Crash Event.

-

CTLD_CARGO:E(Arguments)

-

Log an exception which will be traced always.

-

CTLD_CARGO:EventDispatcher()

-

Returns the event dispatcher

-

CTLD_CARGO:EventRemoveAll()

-

Remove all subscribed events

-

CTLD_CARGO:F(Arguments)

-

Trace a function call.

-

CTLD_CARGO:F2(Arguments)

-

Trace a function call level 2.

-

CTLD_CARGO:F3(Arguments)

-

Trace a function call level 3.

-

CTLD_CARGO:GetClassID()

-

Get the ClassID of the class instance.

-

CTLD_CARGO:GetClassName()

-

Get the ClassName of the class instance.

-

CTLD_CARGO:GetClassNameAndID()

-

Get the ClassName + ClassID of the class instance.

-

CTLD_CARGO:GetEventPriority()

-

Get the Class Core.Event processing Priority.

-

CTLD_CARGO:GetParent(Child, FromClass)

-

This is the worker method to retrieve the Parent class.

-

CTLD_CARGO:GetProperties()

-

Get all of the properties of an object in a table.

-

CTLD_CARGO:GetProperty(Key)

-

Get one property of an object by the key.

-

CTLD_CARGO:GetState(Object, Key)

-

Get a Value given a Key from the Object.

-

CTLD_CARGO:HandleEvent(EventID, EventFunction)

-

Subscribe to a DCS Event.

-

CTLD_CARGO:I(Arguments)

-

Log an information which will be traced always.

-

CTLD_CARGO:Inherit(Child, Parent)

-

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

-

CTLD_CARGO:IsInstanceOf(ClassName)

-

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

-

CTLD_CARGO:IsTrace()

-

Enquires if tracing is on (for the class).

-

CTLD_CARGO:New()

-

BASE constructor.

-

CTLD_CARGO:OnEvent(EventData)

-

Occurs when an Event for an object is triggered.

-

CTLD_CARGO:OnEventBDA(EventData)

-

BDA.

-

CTLD_CARGO:OnEventBaseCaptured(EventData)

-

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

-

CTLD_CARGO:OnEventBirth(EventData)

-

Occurs when any object is spawned into the mission.

-

CTLD_CARGO:OnEventCrash(EventData)

-

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

-

CTLD_CARGO:OnEventDead(EventData)

-

Occurs when an object is dead.

-

CTLD_CARGO:OnEventDetailedFailure(EventData)

-

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

-

CTLD_CARGO:OnEventDiscardChairAfterEjection(EventData)

-

Discard chair after ejection.

-

CTLD_CARGO:OnEventDynamicCargoLoaded(EventData)

-

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

-

CTLD_CARGO:OnEventDynamicCargoRemoved(EventData)

-

Occurs when a dynamic cargo crate is removed.

-

CTLD_CARGO:OnEventDynamicCargoUnloaded(EventData)

-

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

-

CTLD_CARGO:OnEventEjection(EventData)

-

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_CARGO:OnEventEngineShutdown(EventData)

-

Occurs when any aircraft shuts down its engines.

-

CTLD_CARGO:OnEventEngineStartup(EventData)

-

Occurs when any aircraft starts its engines.

-

CTLD_CARGO:OnEventHit(EventData)

-

Occurs whenever an object is hit by a weapon.

-

CTLD_CARGO:OnEventHumanFailure(EventData)

-

Occurs when any system fails on a human controlled aircraft.

-

CTLD_CARGO:OnEventKill(EventData)

-

Occurs on the death of a unit.

-

CTLD_CARGO:OnEventLand(EventData)

-

Occurs when an aircraft lands at an airbase, farp or ship -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_CARGO:OnEventLandingAfterEjection(EventData)

-

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

-

CTLD_CARGO:OnEventLandingQualityMark(EventData)

-

Landing quality mark.

-

CTLD_CARGO:OnEventMarkAdded(EventData)

-

Occurs when a new mark was added.

-

CTLD_CARGO:OnEventMarkChange(EventData)

-

Occurs when a mark text was changed.

-

CTLD_CARGO:OnEventMarkRemoved(EventData)

-

Occurs when a mark was removed.

-

CTLD_CARGO:OnEventMissionEnd(EventData)

-

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_CARGO:OnEventMissionStart(EventData)

-

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_CARGO:OnEventNewDynamicCargo(EventData)

-

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

-

CTLD_CARGO:OnEventParatrooperLanding(EventData)

-

Weapon add.

-

CTLD_CARGO:OnEventPilotDead(EventData)

-

Occurs when the pilot of an aircraft is killed.

-

CTLD_CARGO:OnEventPlayerEnterAircraft(EventData)

-

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

-

CTLD_CARGO:OnEventPlayerEnterUnit(EventData)

-

Occurs when any player assumes direct control of a unit.

-

CTLD_CARGO:OnEventPlayerLeaveUnit(EventData)

-

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

-

CTLD_CARGO:OnEventRefueling(EventData)

-

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

-

CTLD_CARGO:OnEventRefuelingStop(EventData)

-

Occurs when an aircraft is finished taking fuel.

-

CTLD_CARGO:OnEventScore(EventData)

-

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

-

CTLD_CARGO:OnEventShootingEnd(EventData)

-

Occurs when any unit stops firing its weapon.

-

CTLD_CARGO:OnEventShootingStart(EventData)

-

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

-

CTLD_CARGO:OnEventShot(EventData)

-

Occurs whenever any unit in a mission fires a weapon.

-

CTLD_CARGO:OnEventTakeoff(EventData)

-

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

-

CTLD_CARGO:OnEventTriggerZone(EventData)

-

Trigger zone.

-

CTLD_CARGO:OnEventUnitLost(EventData)

-

Occurs when the game thinks an object is destroyed.

-

CTLD_CARGO.Properties

-

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

-

Schedule a new time event.

-

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

-

Schedule a new time event.

-

CTLD_CARGO:ScheduleStop(SchedulerID)

-

Stops the Schedule.

-

CTLD_CARGO.Scheduler

-

The scheduler object.

-

CTLD_CARGO:SetEventPriority(EventPriority)

-

Set the Class Core.Event processing Priority.

-

CTLD_CARGO:SetProperty(Key, Value)

-

Set one property of an object.

-

CTLD_CARGO:SetState(Object, Key, Value)

-

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

-

CTLD_CARGO:T(Arguments)

-

Trace a function logic level 1.

-

CTLD_CARGO:T2(Arguments)

-

Trace a function logic level 2.

-

CTLD_CARGO:T3(Arguments)

-

Trace a function logic level 3.

-

CTLD_CARGO:TraceAll(TraceAll)

-

Trace all methods in MOOSE

-

CTLD_CARGO:TraceClass(Class)

-

Set tracing for a class

-

CTLD_CARGO:TraceClassMethod(Class, Method)

-

Set tracing for a specific method of class

-

CTLD_CARGO:TraceLevel(Level)

-

Set trace level

-

CTLD_CARGO:TraceOff()

-

Set trace off.

-

CTLD_CARGO:TraceOn()

-

Set trace on.

-

CTLD_CARGO: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.

-

CTLD_CARGO:UnHandleEvent(EventID)

-

UnSubscribe to a DCS event.

-

CTLD_CARGO._

- -

CTLD_CARGO:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function call.

-

CTLD_CARGO:_Serialize(Arguments)

-

(Internal) Serialize arguments

-

CTLD_CARGO:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function logic.

-

CTLD_CARGO.__

- -

CTLD_CARGO:onEvent(event)

-

The main event handling function...

-
-
- -

Type CTLD_CARGO.Enum

-
- CTLD_CARGO.Enum -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_CARGO.EnumDescription

CTLD_CARGO.Enum.CRATE

- -

CTLD_CARGO.Enum.ENGINEERS

- -

CTLD_CARGO.Enum.FOB

- -

CTLD_CARGO.Enum.GCLOADABLE

- -

CTLD_CARGO.Enum.REPAIR

- -

CTLD_CARGO.Enum.STATIC

- -

CTLD_CARGO.Enum.TROOPS

- -

CTLD_CARGO.Enum.VEHICLE

- -
-
- -

Type CTLD_ENGINEERING

-
- CTLD_ENGINEERING -, extends Core.Base#BASE -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_ENGINEERINGDescription

CTLD_ENGINEERING:Arrive()

-

(Internal) Arrived at crates in reach.

-

CTLD_ENGINEERING:Build()

-

(Internal) Set build status.

-

CTLD_ENGINEERING.ClassName

- -

CTLD_ENGINEERING:Done()

-

(Internal) Set done status.

-

CTLD_ENGINEERING:GetStatus()

-

(Internal) Get the status

-

CTLD_ENGINEERING.Group

- -

CTLD_ENGINEERING.HeliGroup

- -

CTLD_ENGINEERING.HeliUnit

- -

CTLD_ENGINEERING:IsNotStatus(State)

-

(Internal) Check the negative status

-

CTLD_ENGINEERING:IsStatus(State)

-

(Internal) Check the status

-

CTLD_ENGINEERING:Move()

-

(Internal) Move towards crates in reach.

-

CTLD_ENGINEERING.Name

- -

CTLD_ENGINEERING:New(Name, GroupName, HeliGroup, HeliUnit)

-

Create a new instance.

-

CTLD_ENGINEERING:Search(crates, number)

-

(Internal) Search for crates in reach.

-

CTLD_ENGINEERING:SetStatus(State)

-

(Internal) Set the status

-

CTLD_ENGINEERING:Start()

-

(Internal) Set start status.

-

CTLD_ENGINEERING.State

- -

CTLD_ENGINEERING:Stop()

-

(Internal) Set stop status.

-

CTLD_ENGINEERING.Unit

- -

CTLD_ENGINEERING.Version

- -

CTLD_ENGINEERING:_GetDistance(_point1, _point2)

-

(Internal) Return distance in meters between two coordinates.

-

CTLD_ENGINEERING.currwpt

- -

CTLD_ENGINEERING.lid

- -

CTLD_ENGINEERING.marktimer

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from BASEDescription

CTLD_ENGINEERING.ClassID

-

The ID number of the class.

-

CTLD_ENGINEERING.ClassName

-

The name of the class.

-

CTLD_ENGINEERING.ClassNameAndID

-

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

-

CTLD_ENGINEERING:ClearState(Object, StateName)

-

Clear the state of an object.

-

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

-

Creation of a Birth Event.

-

CTLD_ENGINEERING:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

-

Creation of a Crash Event.

-

CTLD_ENGINEERING:CreateEventDead(EventTime, Initiator, IniObjectCategory)

-

Creation of a Dead Event.

-

CTLD_ENGINEERING:CreateEventDynamicCargoLoaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

-

CTLD_ENGINEERING:CreateEventDynamicCargoRemoved(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

-

CTLD_ENGINEERING:CreateEventDynamicCargoUnloaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

-

CTLD_ENGINEERING:CreateEventNewDynamicCargo(DynamicCargo)

-

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

-

CTLD_ENGINEERING:CreateEventPlayerEnterAircraft(PlayerUnit)

-

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

-

CTLD_ENGINEERING:CreateEventRemoveUnit(EventTime, Initiator)

-

Creation of a Remove Unit Event.

-

CTLD_ENGINEERING:CreateEventTakeoff(EventTime, Initiator)

-

Creation of a Takeoff Event.

-

CTLD_ENGINEERING:CreateEventUnitLost(EventTime, Initiator)

-

Creation of a Crash Event.

-

CTLD_ENGINEERING:E(Arguments)

-

Log an exception which will be traced always.

-

CTLD_ENGINEERING:EventDispatcher()

-

Returns the event dispatcher

-

CTLD_ENGINEERING:EventRemoveAll()

-

Remove all subscribed events

-

CTLD_ENGINEERING:F(Arguments)

-

Trace a function call.

-

CTLD_ENGINEERING:F2(Arguments)

-

Trace a function call level 2.

-

CTLD_ENGINEERING:F3(Arguments)

-

Trace a function call level 3.

-

CTLD_ENGINEERING:GetClassID()

-

Get the ClassID of the class instance.

-

CTLD_ENGINEERING:GetClassName()

-

Get the ClassName of the class instance.

-

CTLD_ENGINEERING:GetClassNameAndID()

-

Get the ClassName + ClassID of the class instance.

-

CTLD_ENGINEERING:GetEventPriority()

-

Get the Class Core.Event processing Priority.

-

CTLD_ENGINEERING:GetParent(Child, FromClass)

-

This is the worker method to retrieve the Parent class.

-

CTLD_ENGINEERING:GetProperties()

-

Get all of the properties of an object in a table.

-

CTLD_ENGINEERING:GetProperty(Key)

-

Get one property of an object by the key.

-

CTLD_ENGINEERING:GetState(Object, Key)

-

Get a Value given a Key from the Object.

-

CTLD_ENGINEERING:HandleEvent(EventID, EventFunction)

-

Subscribe to a DCS Event.

-

CTLD_ENGINEERING:I(Arguments)

-

Log an information which will be traced always.

-

CTLD_ENGINEERING:Inherit(Child, Parent)

-

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

-

CTLD_ENGINEERING:IsInstanceOf(ClassName)

-

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

-

CTLD_ENGINEERING:IsTrace()

-

Enquires if tracing is on (for the class).

-

CTLD_ENGINEERING:New()

-

BASE constructor.

-

CTLD_ENGINEERING:OnEvent(EventData)

-

Occurs when an Event for an object is triggered.

-

CTLD_ENGINEERING:OnEventBDA(EventData)

-

BDA.

-

CTLD_ENGINEERING:OnEventBaseCaptured(EventData)

-

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

-

CTLD_ENGINEERING:OnEventBirth(EventData)

-

Occurs when any object is spawned into the mission.

-

CTLD_ENGINEERING:OnEventCrash(EventData)

-

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

-

CTLD_ENGINEERING:OnEventDead(EventData)

-

Occurs when an object is dead.

-

CTLD_ENGINEERING:OnEventDetailedFailure(EventData)

-

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

-

CTLD_ENGINEERING:OnEventDiscardChairAfterEjection(EventData)

-

Discard chair after ejection.

-

CTLD_ENGINEERING:OnEventDynamicCargoLoaded(EventData)

-

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

-

CTLD_ENGINEERING:OnEventDynamicCargoRemoved(EventData)

-

Occurs when a dynamic cargo crate is removed.

-

CTLD_ENGINEERING:OnEventDynamicCargoUnloaded(EventData)

-

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

-

CTLD_ENGINEERING:OnEventEjection(EventData)

-

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_ENGINEERING:OnEventEngineShutdown(EventData)

-

Occurs when any aircraft shuts down its engines.

-

CTLD_ENGINEERING:OnEventEngineStartup(EventData)

-

Occurs when any aircraft starts its engines.

-

CTLD_ENGINEERING:OnEventHit(EventData)

-

Occurs whenever an object is hit by a weapon.

-

CTLD_ENGINEERING:OnEventHumanFailure(EventData)

-

Occurs when any system fails on a human controlled aircraft.

-

CTLD_ENGINEERING:OnEventKill(EventData)

-

Occurs on the death of a unit.

-

CTLD_ENGINEERING:OnEventLand(EventData)

-

Occurs when an aircraft lands at an airbase, farp or ship -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_ENGINEERING:OnEventLandingAfterEjection(EventData)

-

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

-

CTLD_ENGINEERING:OnEventLandingQualityMark(EventData)

-

Landing quality mark.

-

CTLD_ENGINEERING:OnEventMarkAdded(EventData)

-

Occurs when a new mark was added.

-

CTLD_ENGINEERING:OnEventMarkChange(EventData)

-

Occurs when a mark text was changed.

-

CTLD_ENGINEERING:OnEventMarkRemoved(EventData)

-

Occurs when a mark was removed.

-

CTLD_ENGINEERING:OnEventMissionEnd(EventData)

-

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_ENGINEERING:OnEventMissionStart(EventData)

-

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_ENGINEERING:OnEventNewDynamicCargo(EventData)

-

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

-

CTLD_ENGINEERING:OnEventParatrooperLanding(EventData)

-

Weapon add.

-

CTLD_ENGINEERING:OnEventPilotDead(EventData)

-

Occurs when the pilot of an aircraft is killed.

-

CTLD_ENGINEERING:OnEventPlayerEnterAircraft(EventData)

-

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

-

CTLD_ENGINEERING:OnEventPlayerEnterUnit(EventData)

-

Occurs when any player assumes direct control of a unit.

-

CTLD_ENGINEERING:OnEventPlayerLeaveUnit(EventData)

-

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

-

CTLD_ENGINEERING:OnEventRefueling(EventData)

-

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

-

CTLD_ENGINEERING:OnEventRefuelingStop(EventData)

-

Occurs when an aircraft is finished taking fuel.

-

CTLD_ENGINEERING:OnEventScore(EventData)

-

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

-

CTLD_ENGINEERING:OnEventShootingEnd(EventData)

-

Occurs when any unit stops firing its weapon.

-

CTLD_ENGINEERING:OnEventShootingStart(EventData)

-

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

-

CTLD_ENGINEERING:OnEventShot(EventData)

-

Occurs whenever any unit in a mission fires a weapon.

-

CTLD_ENGINEERING:OnEventTakeoff(EventData)

-

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

-

CTLD_ENGINEERING:OnEventTriggerZone(EventData)

-

Trigger zone.

-

CTLD_ENGINEERING:OnEventUnitLost(EventData)

-

Occurs when the game thinks an object is destroyed.

-

CTLD_ENGINEERING.Properties

- -

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

-

Schedule a new time event.

-

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

-

Schedule a new time event.

-

CTLD_ENGINEERING:ScheduleStop(SchedulerID)

-

Stops the Schedule.

-

CTLD_ENGINEERING.Scheduler

-

The scheduler object.

-

CTLD_ENGINEERING:SetEventPriority(EventPriority)

-

Set the Class Core.Event processing Priority.

-

CTLD_ENGINEERING:SetProperty(Key, Value)

-

Set one property of an object.

-

CTLD_ENGINEERING:SetState(Object, Key, Value)

-

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

-

CTLD_ENGINEERING:T(Arguments)

-

Trace a function logic level 1.

-

CTLD_ENGINEERING:T2(Arguments)

-

Trace a function logic level 2.

-

CTLD_ENGINEERING:T3(Arguments)

-

Trace a function logic level 3.

-

CTLD_ENGINEERING:TraceAll(TraceAll)

-

Trace all methods in MOOSE

-

CTLD_ENGINEERING:TraceClass(Class)

-

Set tracing for a class

-

CTLD_ENGINEERING:TraceClassMethod(Class, Method)

-

Set tracing for a specific method of class

-

CTLD_ENGINEERING:TraceLevel(Level)

-

Set trace level

-

CTLD_ENGINEERING:TraceOff()

-

Set trace off.

-

CTLD_ENGINEERING:TraceOn()

-

Set trace on.

-

CTLD_ENGINEERING: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.

-

CTLD_ENGINEERING:UnHandleEvent(EventID)

-

UnSubscribe to a DCS event.

-

CTLD_ENGINEERING._

- -

CTLD_ENGINEERING:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function call.

-

CTLD_ENGINEERING:_Serialize(Arguments)

-

(Internal) Serialize arguments

-

CTLD_ENGINEERING:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function logic.

-

CTLD_ENGINEERING.__

- -

CTLD_ENGINEERING:onEvent(event)

-

The main event handling function...

-
-
- -

Type CTLD_HERCULES

-
- CTLD_HERCULES -, extends Core.Base#BASE -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_HERCULESDescription

CTLD_HERCULES.CTLD

- -

CTLD_HERCULES:Calculate_Cargo_Drop_initiator_Heading(Cargo_Drop_initiator)

-

[Internal] Function to calc initiator heading

-

CTLD_HERCULES:Calculate_Cargo_Drop_initiator_NorthCorrection(point)

-

[Internal] Function to calc north correction

-

CTLD_HERCULES:Calculate_Object_Height_AGL(group)

-

[Internal] Function to calculate object height

-

CTLD_HERCULES.Cargo

- -

CTLD_HERCULES:Cargo_Initialize(Initiator, Cargo_Contents, Cargo_Type_name, Container_Enclosed, SoldierGroup, ParatrooperGroupSpawnInit)

-

[Internal] Function to initialize dropped cargo

-

CTLD_HERCULES:Cargo_SpawnDroppedAsCargo(Cargo_Type_name, Cargo_Drop_Position, _name, _pos)

-

[Internal] Function to spawn cargo by type at position

-

CTLD_HERCULES:Cargo_SpawnGroup(Cargo_Drop_initiator, Cargo_Drop_Position, Cargo_Type_name, CargoHeading, Cargo_Country)

-

[Internal] Function to spawn a group

-

CTLD_HERCULES:Cargo_SpawnObjects(Cargo_Drop_initiator, Cargo_Drop_Direction, Cargo_Content_position, Cargo_Type_name, Cargo_over_water, Container_Enclosed, ParatrooperGroupSpawn, offload_cargo, all_cargo_survive_to_the_ground, all_cargo_gets_destroyed, destroy_cargo_dropped_without_parachute, Cargo_Country)

-

[Internal] Spawn cargo objects

-

CTLD_HERCULES:Cargo_SpawnStatic(Cargo_Drop_initiator, Cargo_Drop_Position, Cargo_Type_name, CargoHeading, dead, Cargo_Country)

-

[Internal] Function to spawn static cargo

-

CTLD_HERCULES:Cargo_Track(cargo, initiator)

-

[Internal] Function to track cargo objects

-

CTLD_HERCULES:CheckTemplates()

-

[Internal] Function to check availability of templates

-

CTLD_HERCULES:Check_SurfaceType(group, object)

-

[Internal] Function to check surface type

-

CTLD_HERCULES.ClassName

- -

CTLD_HERCULES.Name

- -

CTLD_HERCULES:New(Coalition, Alias, CtldObject)

-

[User] Instantiate a new object

-

CTLD_HERCULES.ObjectTracker

- -

CTLD_HERCULES.ParatrooperCount

- -

CTLD_HERCULES:SetType(key, cargoType, cargoNum)

-

[Internal] Function to change cargotype per group (Wrench)

-

CTLD_HERCULES:Soldier_SpawnGroup(Cargo_Drop_initiator, Cargo_Drop_Position, Cargo_Type_name, CargoHeading, Cargo_Country, GroupSpacing)

-

[Internal] Function to spawn a soldier group of 10 units

-

CTLD_HERCULES.Types

- -

CTLD_HERCULES.Version

- -

CTLD_HERCULES:_HandleBirth(event)

-

[Internal] Function to capture BIRTH event

-

CTLD_HERCULES:_HandleShot(Cargo_Drop_Event)

-

[Internal] Function to capture SHOT event

-

CTLD_HERCULES.alias

- -

CTLD_HERCULES.carrierGroups

- -

CTLD_HERCULES.coalition

- -

CTLD_HERCULES.coalitiontxt

- -

CTLD_HERCULES.infantrytemplate

- -

CTLD_HERCULES.j

- -

CTLD_HERCULES.lid

- -

CTLD_HERCULES.verbose

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from BASEDescription

CTLD_HERCULES.ClassID

-

The ID number of the class.

-

CTLD_HERCULES.ClassName

-

The name of the class.

-

CTLD_HERCULES.ClassNameAndID

-

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

-

CTLD_HERCULES:ClearState(Object, StateName)

-

Clear the state of an object.

-

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

-

Creation of a Birth Event.

-

CTLD_HERCULES:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

-

Creation of a Crash Event.

-

CTLD_HERCULES:CreateEventDead(EventTime, Initiator, IniObjectCategory)

-

Creation of a Dead Event.

-

CTLD_HERCULES:CreateEventDynamicCargoLoaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

-

CTLD_HERCULES:CreateEventDynamicCargoRemoved(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

-

CTLD_HERCULES:CreateEventDynamicCargoUnloaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

-

CTLD_HERCULES:CreateEventNewDynamicCargo(DynamicCargo)

-

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

-

CTLD_HERCULES:CreateEventPlayerEnterAircraft(PlayerUnit)

-

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

-

CTLD_HERCULES:CreateEventRemoveUnit(EventTime, Initiator)

-

Creation of a Remove Unit Event.

-

CTLD_HERCULES:CreateEventTakeoff(EventTime, Initiator)

-

Creation of a Takeoff Event.

-

CTLD_HERCULES:CreateEventUnitLost(EventTime, Initiator)

-

Creation of a Crash Event.

-

CTLD_HERCULES:E(Arguments)

-

Log an exception which will be traced always.

-

CTLD_HERCULES:EventDispatcher()

-

Returns the event dispatcher

-

CTLD_HERCULES:EventRemoveAll()

-

Remove all subscribed events

-

CTLD_HERCULES:F(Arguments)

-

Trace a function call.

-

CTLD_HERCULES:F2(Arguments)

-

Trace a function call level 2.

-

CTLD_HERCULES:F3(Arguments)

-

Trace a function call level 3.

-

CTLD_HERCULES:GetClassID()

-

Get the ClassID of the class instance.

-

CTLD_HERCULES:GetClassName()

-

Get the ClassName of the class instance.

-

CTLD_HERCULES:GetClassNameAndID()

-

Get the ClassName + ClassID of the class instance.

-

CTLD_HERCULES:GetEventPriority()

-

Get the Class Core.Event processing Priority.

-

CTLD_HERCULES:GetParent(Child, FromClass)

-

This is the worker method to retrieve the Parent class.

-

CTLD_HERCULES:GetProperties()

-

Get all of the properties of an object in a table.

-

CTLD_HERCULES:GetProperty(Key)

-

Get one property of an object by the key.

-

CTLD_HERCULES:GetState(Object, Key)

-

Get a Value given a Key from the Object.

-

CTLD_HERCULES:HandleEvent(EventID, EventFunction)

-

Subscribe to a DCS Event.

-

CTLD_HERCULES:I(Arguments)

-

Log an information which will be traced always.

-

CTLD_HERCULES:Inherit(Child, Parent)

-

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

-

CTLD_HERCULES:IsInstanceOf(ClassName)

-

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

-

CTLD_HERCULES:IsTrace()

-

Enquires if tracing is on (for the class).

-

CTLD_HERCULES:New()

-

BASE constructor.

-

CTLD_HERCULES:OnEvent(EventData)

-

Occurs when an Event for an object is triggered.

-

CTLD_HERCULES:OnEventBDA(EventData)

-

BDA.

-

CTLD_HERCULES:OnEventBaseCaptured(EventData)

-

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

-

CTLD_HERCULES:OnEventBirth(EventData)

-

Occurs when any object is spawned into the mission.

-

CTLD_HERCULES:OnEventCrash(EventData)

-

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

-

CTLD_HERCULES:OnEventDead(EventData)

-

Occurs when an object is dead.

-

CTLD_HERCULES:OnEventDetailedFailure(EventData)

-

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

-

CTLD_HERCULES:OnEventDiscardChairAfterEjection(EventData)

-

Discard chair after ejection.

-

CTLD_HERCULES:OnEventDynamicCargoLoaded(EventData)

-

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

-

CTLD_HERCULES:OnEventDynamicCargoRemoved(EventData)

-

Occurs when a dynamic cargo crate is removed.

-

CTLD_HERCULES:OnEventDynamicCargoUnloaded(EventData)

-

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

-

CTLD_HERCULES:OnEventEjection(EventData)

-

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_HERCULES:OnEventEngineShutdown(EventData)

-

Occurs when any aircraft shuts down its engines.

-

CTLD_HERCULES:OnEventEngineStartup(EventData)

-

Occurs when any aircraft starts its engines.

-

CTLD_HERCULES:OnEventHit(EventData)

-

Occurs whenever an object is hit by a weapon.

-

CTLD_HERCULES:OnEventHumanFailure(EventData)

-

Occurs when any system fails on a human controlled aircraft.

-

CTLD_HERCULES:OnEventKill(EventData)

-

Occurs on the death of a unit.

-

CTLD_HERCULES:OnEventLand(EventData)

-

Occurs when an aircraft lands at an airbase, farp or ship -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_HERCULES:OnEventLandingAfterEjection(EventData)

-

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

-

CTLD_HERCULES:OnEventLandingQualityMark(EventData)

-

Landing quality mark.

-

CTLD_HERCULES:OnEventMarkAdded(EventData)

-

Occurs when a new mark was added.

-

CTLD_HERCULES:OnEventMarkChange(EventData)

-

Occurs when a mark text was changed.

-

CTLD_HERCULES:OnEventMarkRemoved(EventData)

-

Occurs when a mark was removed.

-

CTLD_HERCULES:OnEventMissionEnd(EventData)

-

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_HERCULES:OnEventMissionStart(EventData)

-

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

-

CTLD_HERCULES:OnEventNewDynamicCargo(EventData)

-

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

-

CTLD_HERCULES:OnEventParatrooperLanding(EventData)

-

Weapon add.

-

CTLD_HERCULES:OnEventPilotDead(EventData)

-

Occurs when the pilot of an aircraft is killed.

-

CTLD_HERCULES:OnEventPlayerEnterAircraft(EventData)

-

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

-

CTLD_HERCULES:OnEventPlayerEnterUnit(EventData)

-

Occurs when any player assumes direct control of a unit.

-

CTLD_HERCULES:OnEventPlayerLeaveUnit(EventData)

-

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

-

CTLD_HERCULES:OnEventRefueling(EventData)

-

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

-

CTLD_HERCULES:OnEventRefuelingStop(EventData)

-

Occurs when an aircraft is finished taking fuel.

-

CTLD_HERCULES:OnEventScore(EventData)

-

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

-

CTLD_HERCULES:OnEventShootingEnd(EventData)

-

Occurs when any unit stops firing its weapon.

-

CTLD_HERCULES:OnEventShootingStart(EventData)

-

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

-

CTLD_HERCULES:OnEventShot(EventData)

-

Occurs whenever any unit in a mission fires a weapon.

-

CTLD_HERCULES:OnEventTakeoff(EventData)

-

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

-

CTLD_HERCULES:OnEventTriggerZone(EventData)

-

Trigger zone.

-

CTLD_HERCULES:OnEventUnitLost(EventData)

-

Occurs when the game thinks an object is destroyed.

-

CTLD_HERCULES.Properties

- -

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

-

Schedule a new time event.

-

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

-

Schedule a new time event.

-

CTLD_HERCULES:ScheduleStop(SchedulerID)

-

Stops the Schedule.

-

CTLD_HERCULES.Scheduler

-

The scheduler object.

-

CTLD_HERCULES:SetEventPriority(EventPriority)

-

Set the Class Core.Event processing Priority.

-

CTLD_HERCULES:SetProperty(Key, Value)

-

Set one property of an object.

-

CTLD_HERCULES:SetState(Object, Key, Value)

-

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

-

CTLD_HERCULES:T(Arguments)

-

Trace a function logic level 1.

-

CTLD_HERCULES:T2(Arguments)

-

Trace a function logic level 2.

-

CTLD_HERCULES:T3(Arguments)

-

Trace a function logic level 3.

-

CTLD_HERCULES:TraceAll(TraceAll)

-

Trace all methods in MOOSE

-

CTLD_HERCULES:TraceClass(Class)

-

Set tracing for a class

-

CTLD_HERCULES:TraceClassMethod(Class, Method)

-

Set tracing for a specific method of class

-

CTLD_HERCULES:TraceLevel(Level)

-

Set trace level

-

CTLD_HERCULES:TraceOff()

-

Set trace off.

-

CTLD_HERCULES:TraceOn()

-

Set trace on.

-

CTLD_HERCULES: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.

-

CTLD_HERCULES:UnHandleEvent(EventID)

-

UnSubscribe to a DCS event.

-

CTLD_HERCULES._

- -

CTLD_HERCULES:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function call.

-

CTLD_HERCULES:_Serialize(Arguments)

-

(Internal) Serialize arguments

-

CTLD_HERCULES:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function logic.

-

CTLD_HERCULES.__

- -

CTLD_HERCULES:onEvent(event)

-

The main event handling function...

-
-
- -

Type CTLD_HERCULES.CargoObject

-
- CTLD_HERCULES.CargoObject -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_HERCULES.CargoObjectDescription

CTLD_HERCULES.CargoObject.Cargo_Contents

- -

CTLD_HERCULES.CargoObject.Cargo_Country

- -

CTLD_HERCULES.CargoObject.Cargo_Drop_Direction

- -

CTLD_HERCULES.CargoObject.Cargo_Type_name

- -

CTLD_HERCULES.CargoObject.Cargo_over_water

- -

CTLD_HERCULES.CargoObject.Container_Enclosed

- -

CTLD_HERCULES.CargoObject.ParatrooperGroupSpawn

- -

CTLD_HERCULES.CargoObject.all_cargo_gets_destroyed

- -

CTLD_HERCULES.CargoObject.all_cargo_survive_to_the_ground

- -

CTLD_HERCULES.CargoObject.destroy_cargo_dropped_without_parachute

- -

CTLD_HERCULES.CargoObject.offload_cargo

- -

CTLD_HERCULES.CargoObject.scheduleFunctionID

- -
-
- -

Type CTLD_HERCULES.Types

-
- CTLD_HERCULES.Types -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from CTLD_HERCULES.TypesDescription

CTLD_HERCULES.Types.AAA GEPARD [34720lb]

- -

CTLD_HERCULES.Types.AAA Vulcan M163 Air [21666lb]

- -

CTLD_HERCULES.Types.AAA Vulcan M163 Skid [21577lb]

- -

CTLD_HERCULES.Types.AAA ZSU-23-4 Shilka [32912lb]

- -

CTLD_HERCULES.Types.APC BTR-80 Air [23936lb]

- -

CTLD_HERCULES.Types.APC BTR-80 Skid [23826lb]

- -

CTLD_HERCULES.Types.APC BTR-82A Air [24998lb]

- -

CTLD_HERCULES.Types.APC BTR-82A Skid [24888lb]

- -

CTLD_HERCULES.Types.APC Cobra Air [10912lb]

- -

CTLD_HERCULES.Types.APC Cobra Skid [10802lb]

- -

CTLD_HERCULES.Types.APC LAV-25 Air [22520lb]

- -

CTLD_HERCULES.Types.APC LAV-25 Skid [22514lb]

- -

CTLD_HERCULES.Types.APC M1043 HMMWV Armament Air [7023lb]

- -

CTLD_HERCULES.Types.APC M1043 HMMWV Armament Skid [6912lb]

- -

CTLD_HERCULES.Types.APC M1126 Stryker ICV [29542lb]

- -

CTLD_HERCULES.Types.APC M113 Air [21624lb]

- -

CTLD_HERCULES.Types.APC M113 Skid [21494lb]

- -

CTLD_HERCULES.Types.APC MTLB Air [26400lb]

- -

CTLD_HERCULES.Types.APC MTLB Skid [26290lb]

- -

CTLD_HERCULES.Types.ART 2S9 NONA Air [19140lb]

- -

CTLD_HERCULES.Types.ART 2S9 NONA Skid [19030lb]

- -

CTLD_HERCULES.Types.ART GVOZDIKA [34720lb]

- -

CTLD_HERCULES.Types.ARV BRDM-2 Air [12320lb]

- -

CTLD_HERCULES.Types.ARV BRDM-2 Skid [12210lb]

- -

CTLD_HERCULES.Types.ATGM M1045 HMMWV TOW Air [7183lb]

- -

CTLD_HERCULES.Types.ATGM M1045 HMMWV TOW Skid [7073lb]

- -

CTLD_HERCULES.Types.ATGM M1134 Stryker [30337lb]

- -

CTLD_HERCULES.Types.EWR SBORKA Air [21624lb]

- -

CTLD_HERCULES.Types.EWR SBORKA Skid [21624lb]

- -

CTLD_HERCULES.Types.HEMTT TFFT [34400lb]

- -

CTLD_HERCULES.Types.IFV BMD-1 Air [18040lb]

- -

CTLD_HERCULES.Types.IFV BMD-1 Skid [17930lb]

- -

CTLD_HERCULES.Types.IFV BMP-1 [23232lb]

- -

CTLD_HERCULES.Types.IFV BMP-2 [25168lb]

- -

CTLD_HERCULES.Types.IFV BMP-3 [32912lb]

- -

CTLD_HERCULES.Types.IFV BTR-D Air [18040lb]

- -

CTLD_HERCULES.Types.IFV BTR-D Skid [17930lb]

- -

CTLD_HERCULES.Types.IFV M2A2 Bradley [34720lb]

- -

CTLD_HERCULES.Types.IFV MARDER [34720lb]

- -

CTLD_HERCULES.Types.IFV MCV-80 [34720lb]

- -

CTLD_HERCULES.Types.IFV TPZ FUCH [33440lb]

- -

CTLD_HERCULES.Types.M1025 HMMWV Air [6160lb]

- -

CTLD_HERCULES.Types.M1025 HMMWV Skid [6050lb]

- -

CTLD_HERCULES.Types.SAM Avenger M1097 Air [7200lb]

- -

CTLD_HERCULES.Types.SAM Avenger M1097 Skid [7090lb]

- -

CTLD_HERCULES.Types.SAM CHAPARRAL Air [21624lb]

- -

CTLD_HERCULES.Types.SAM CHAPARRAL Skid [21516lb]

- -

CTLD_HERCULES.Types.SAM LINEBACKER [34720lb]

- -

CTLD_HERCULES.Types.SAM ROLAND ADS [34720lb]

- -

CTLD_HERCULES.Types.SAM ROLAND LN [34720b]

- -

CTLD_HERCULES.Types.SAM SA-13 STRELA [21624lb]

- -

CTLD_HERCULES.Types.SAM SA-19 Tunguska 2S6 [34720lb]

- -

CTLD_HERCULES.Types.SPG M1128 Stryker MGS [33036lb]

- -

CTLD_HERCULES.Types.Tanker M978 HEMTT [34000lb]

- -

CTLD_HERCULES.Types.Transport M818 [16000lb]

- -

CTLD_HERCULES.Types.Transport Tigr Air [15900lb]

- -

CTLD_HERCULES.Types.Transport Tigr Skid [15730lb]

- -

CTLD_HERCULES.Types.Transport UAZ-469 Air [3747lb]

- -

CTLD_HERCULES.Types.Transport UAZ-469 Skid [3630lb]

- -

CTLD_HERCULES.Types.Transport URAL-375 [14815lb]

- -

CTLD_HERCULES.Types.Type

-

Name of cargo type, container (boolean) in container or not.

@@ -8683,6 +5656,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

+
+
+ + +CTLD.AccessKey + + + +
+ +
+
+
+ + +CTLD.BCFrequency + + + +
+ +
+
+
+ + +CTLD.BCModulation + + + +
+ +
@@ -8774,17 +5780,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Name of the class.

-
- -
-
-
- - #number -CTLD.CrateCounter - - -
@@ -8805,7 +5800,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.CtldUnits @@ -8827,7 +5822,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + CTLD.DroppedTroops @@ -8852,14 +5847,25 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + #number +CTLD.Engineers + + + + +

use as counter

+ +
+ +
+
+
+ + CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

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

Beacons

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

pack objects in this radius

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

Folderpath.

+
@@ -9100,12 +6117,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-CTLD.SmokeColor +CTLD.SRS -

Smokes and Flares

+

set up SRS

@@ -9113,11 +6130,25 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+ +
+
+
+ + +CTLD.SmokeColor + + + + +

Smokes and Flares

+
@@ -9212,28 +6243,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #table -CTLD._cargoByTemplate - - - -
- -
-
-
- - #table -CTLD._crateOrStaticByName - - -
@@ -9392,6 +6401,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

#1570

+
+ + +
+
+ + #table +CTLD.droppedBeacons + + +
@@ -9514,6 +6534,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + Core.TextAndSound#TEXTANDSOUND +CTLD.gettext + + +
@@ -9558,6 +6589,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #string +CTLD.locale + + +
@@ -9666,17 +6708,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

enfore engineer build only?

- - - -
-
- - #boolean -CTLD.onestepmenu - - -
@@ -9824,9 +6855,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

message suppression

- @@ -9844,7 +6872,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number + CTLD.troopdropzoneradius @@ -9871,6 +6899,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + #boolean +CTLD.usesrs + + +
@@ -9882,9 +6921,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

sub categories

- @@ -17361,6 +14397,194 @@ Return true to allow the request, or false to block it. When blocked, _LoadTroop + + + +
+ +
+

CTLD:SetSRS(Frequency, Modulation, PathToSRS, Gender, Culture, Port, Voice, Volume, PathToGoogleKey, AccessKey, Backend, Provider)

+
+ +

[User] Set SRS TTS details - see Sound.SRS for details.SetSRS() will try to use as many attributes configured with Sound.SRS#MSRS.LoadConfigFile() as possible.

+ +
+
+

Defined in:

+
+

CTLD

+
+

Parameters:

+
+
+

+ #number + Frequency +

+
+
+ +

Frequency to be used. Can also be given as a table of multiple frequencies, e.g. 30 or {30,124.5}. Defaults to {30,124.5}. There needs to be exactly the same number of modulations!

+ +
+
+
+
+

+ #number + Modulation +

+
+
+ +

Modulation to be used. Can also be given as a table of multiple modulations, e.g. radio.modulation.AM or {radio.modulation.FM,radio.modulation.AM}. There needs to be exactly the same number of frequencies!

+ +
+
+
+
+

+ #string + PathToSRS +

+
+
+ +

Defaults to "C:\Program Files\DCS-SimpleRadio-Standalone\ExternalAudio"

+ +
+
+
+
+

+ #string + Gender +

+
+
+ +

(Optional) Defaults to "male"

+ +
+
+
+
+

+ #string + Culture +

+
+
+ +

(Optional) Defaults to "en-US"

+ +
+
+
+
+

+ #number + Port +

+
+
+ +

(Optional) Defaults to 5002

+ +
+
+
+
+

+ #string + Voice +

+
+
+ +

(Optional) Use a specifc voice with the Sound.SRS#SetVoice function, e.g, :SetVoice("Microsoft Hedda Desktop"). +Note that this must be installed on your windows system. Can also be Google voice types, if you are using Google TTS. Or Piper voice types with HOUND backend.

+ +
+
+
+
+

+ #number + Volume +

+
+
+ +

(Optional) Volume - between 0.0 (silent) and 1.0 (loudest)

+ +
+
+
+
+

+ #string + PathToGoogleKey +

+
+
+ +

(Optional) Path to your google key if you want to use google TTS; if you use a config file for MSRS, hand in nil here.

+ +
+
+
+
+

+ #string + AccessKey +

+
+
+ +

(Optional) Your Google API access key. This is necessary if DCS-gRPC is used as backend; if you use a config file for MSRS, hand in nil here.

+ +
+
+
+
+

+ #string + Backend +

+
+
+ +

(Optional) MSRS Backend to be used, can be MSRS.Backend.SRSEXE or MSRS.Backend.GRPC; if you use a config file for MSRS, hand in nil here.

+ +
+
+
+
+

+ #string + Provider +

+
+
+ +

(Optional) MSRS Provider to be used, can be MSRS.Provider.Google or MSRS.Provider.WINDOWS etc; if you use a config file for MSRS, hand in nil here.

+ +
+
+

Return value:

+
+
+

#CTLD:

+
+
+ +

self

+ +
+
+
+
@@ -20320,6 +17544,36 @@ However, if you create a new folder inside the miz file, which contains the soun + + + +
+ +
+

CTLD:_InitLocalization()

+
+ +

[Internal] Init localization

+ +
+
+

Defined in:

+
+

CTLD

+
+

Return value:

+
+
+

#CTLD:

+
+
+ +

self

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

CTLD:_SendMessage(Text, Time, Clearscreen, Group)

+

CTLD:_SendMessage(Text, Time, Clearscreen, Group, Silent)

(Internal) Function to message a group.

@@ -21803,6 +19057,19 @@ However, if you create a new folder inside the miz file, which contains the soun

The group receiving the message.

+
+ +
+
+

+ #boolean + Silent +

+
+
+ +

If true, do not speak out messages via SRS/TTS (if SRS is set up)

+
@@ -23985,6 +21252,39 @@ However, if you create a new folder inside the miz file, which contains the soun

Field(s)

+
+
+ + +CTLD.AccessKey + + + +
+ +
+
+
+ + +CTLD.BCFrequency + + + +
+ +
+
+
+ + +CTLD.BCModulation + + + +
+ +
@@ -24076,17 +21376,6 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

-
- -
-
-
- - #number -CTLD.CrateCounter - - -
@@ -24107,7 +21396,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.CtldUnits @@ -24129,7 +21418,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.DroppedTroops @@ -24154,14 +21443,25 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + #number +CTLD.Engineers + + + + +

use as counter

+ +
+ +
+
+
+ + CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

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

Beacons

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

pack objects in this radius

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

Folderpath.

+
@@ -24402,12 +21713,12 @@ However, if you create a new folder inside the miz file, which contains the soun
-CTLD.SmokeColor +CTLD.SRS -

Smokes and Flares

+

set up SRS

@@ -24415,11 +21726,25 @@ However, if you create a new folder inside the miz file, which contains the soun
+ +
+
+
+ + +CTLD.SmokeColor + + + + +

Smokes and Flares

+
@@ -24514,28 +21839,6 @@ However, if you create a new folder inside the miz file, which contains the soun -
- -
-
-
- - #table -CTLD._cargoByTemplate - - - -
- -
-
-
- - #table -CTLD._crateOrStaticByName - - -
@@ -24694,6 +21997,17 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

+ + + +
+
+ + #table +CTLD.droppedBeacons + + +
@@ -24816,6 +22130,17 @@ However, if you create a new folder inside the miz file, which contains the soun + + + +
+
+ + Core.TextAndSound#TEXTANDSOUND +CTLD.gettext + + +
@@ -24860,6 +22185,17 @@ However, if you create a new folder inside the miz file, which contains the soun + + + +
+
+ + #string +CTLD.locale + + +
@@ -24968,17 +22304,6 @@ However, if you create a new folder inside the miz file, which contains the soun

enfore engineer build only?

- - - -
-
- - #boolean -CTLD.onestepmenu - - -
@@ -25126,9 +22451,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

message suppression

- @@ -25146,7 +22468,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #number + CTLD.troopdropzoneradius @@ -25173,6 +22495,17 @@ However, if you create a new folder inside the miz file, which contains the soun +
+ +
+
+
+ + #boolean +CTLD.usesrs + + +
@@ -25184,9 +22517,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

sub categories

- @@ -26715,6 +24045,39 @@ However, if you create a new folder inside the miz file, which contains the soun

Field(s)

+
+
+ + +CTLD.AccessKey + + + +
+ +
+
+
+ + +CTLD.BCFrequency + + + +
+ +
+
+
+ + +CTLD.BCModulation + + + +
+ +
@@ -26806,17 +24169,6 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

-
- -
-
-
- - #number -CTLD.CrateCounter - - -
@@ -26837,7 +24189,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.CtldUnits @@ -26859,7 +24211,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + CTLD.DroppedTroops @@ -26884,14 +24236,25 @@ However, if you create a new folder inside the miz file, which contains the soun
- #table + #number +CTLD.Engineers + + + + +

use as counter

+ +
+ +
+
+
+ + CTLD.EngineersInField - -

holds #CTLD_ENGINEERING objects

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

Beacons

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

pack objects in this radius

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

Folderpath.

+
@@ -27132,12 +24506,12 @@ However, if you create a new folder inside the miz file, which contains the soun
-CTLD.SmokeColor +CTLD.SRS -

Smokes and Flares

+

set up SRS

@@ -27145,11 +24519,25 @@ However, if you create a new folder inside the miz file, which contains the soun
+ +
+
+
+ + +CTLD.SmokeColor + + + + +

Smokes and Flares

+
@@ -27244,28 +24632,6 @@ However, if you create a new folder inside the miz file, which contains the soun -
- -
-
-
- - #table -CTLD._cargoByTemplate - - - -
- -
-
-
- - #table -CTLD._crateOrStaticByName - - -
@@ -27424,6 +24790,17 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

+ + + +
+
+ + #table +CTLD.droppedBeacons + + +
@@ -27546,6 +24923,17 @@ However, if you create a new folder inside the miz file, which contains the soun + + + +
+
+ + Core.TextAndSound#TEXTANDSOUND +CTLD.gettext + + +
@@ -27590,6 +24978,17 @@ However, if you create a new folder inside the miz file, which contains the soun + + + +
+
+ + #string +CTLD.locale + + +
@@ -27698,17 +25097,6 @@ However, if you create a new folder inside the miz file, which contains the soun

enfore engineer build only?

- - - -
-
- - #boolean -CTLD.onestepmenu - - -
@@ -27856,9 +25244,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

message suppression

- @@ -27876,7 +25261,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- #number + CTLD.troopdropzoneradius @@ -27903,6 +25288,17 @@ However, if you create a new folder inside the miz file, which contains the soun +
+ +
+
+
+ + #boolean +CTLD.usesrs + + +
@@ -27914,9 +25310,6 @@ However, if you create a new folder inside the miz file, which contains the soun - -

sub categories

- @@ -32624,87 +30017,16 @@ When moose is loading dynamically (for moose class development), tracing is swit

Type CTLD_CARGO

- - -

Field(s)

-
-
- - #string -CTLD_CARGO.CargoType - -

Enumerator of Type.

- -
- -
-
-
- - #string -CTLD_CARGO.ClassName - -

Class name.

- -
- -
-
-
- - #number -CTLD_CARGO.CratesNeeded - -

Crates needed to build.

- -
- -
-
-
- - #string -CTLD_CARGO.DisplayName - -

Display name for menu/messages.

- -
- -
-
-
- - #boolean -CTLD_CARGO.DontShowInMenu - -

Show this item in menu or not.

- -
- -
-
- - -
#boolean CTLD_CARGO.HasBeenDropped -

True if dropped from heli.

+
@@ -32712,16501 +30034,10 @@ When moose is loading dynamically (for moose class development), tracing is swit
- #boolean -CTLD_CARGO.HasBeenMoved -

Flag for moving.

- -
- -
-
-
- - #number CTLD_CARGO.ID -

ID of this cargo.

-
- -
-
-
- - #boolean -CTLD_CARGO.LoadDirectly - -

Flag for direct loading.

- -
- -
-
-
- - Core.Zone#ZONE -CTLD_CARGO.Location - -

Location (if set) where to get this cargo item.

- -
- -
-
-
- - #string -CTLD_CARGO.Name - -

Name for menu.

- -
- -
-
-
- - #boolean -CTLD_CARGO.NoMoveToZone - - - -
- -
-
-
- - #number -CTLD_CARGO.PerCrateMass - -

Mass in kg.

- -
- -
-
-
- - Wrapper.Positionable#POSITIONABLE -CTLD_CARGO.Positionable - -

Representation of cargo in the mission.

- -
- -
-
-
- - #table -CTLD_CARGO.ResourceMap - -

Resource Map information table if it has been set for static cargo items.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticCategory - -

Individual static category if set.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticShape - -

Individual shape if set.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticType - -

Individual type if set.

- -
- -
-
-
- - #number -CTLD_CARGO.Stock - -

Number of builds available, -1 for unlimited.

- -
- -
-
-
- - #number -CTLD_CARGO.Stock0 - -

Initial stock, if any given.

- -
- -
-
-
- - #string -CTLD_CARGO.Subcategory - -

Sub-category name.

- -
- -
-
-
- - #table -CTLD_CARGO.Templates - -

Table of #POSITIONABLE objects.

- -
- -
-
-
- - #list<#string> -CTLD_CARGO.TypeNames - -

Table of unit types able to pick this cargo up.

- -
- -
-
-

Function(s)

-
-
- - - -

Add mark

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- Mark -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

Add Stock.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #number - Number -

-
-
- -

to add, none if nil.

- -
-
-

Return value:

-
- -
- -

self

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

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

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #string - UnitTypes -

-
-
- -

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

- -
-
-

Return value:

-
- -
- -

self

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

Query directly loadable.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#boolean:

-
-
- -

loadable

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

Query number of crates or troopsize.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

Crates or size of troops.

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

Query display name.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#string:

-
-
- -

Display name, or Name if not set

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

Query ID.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

ID

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

Query Location.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
- -
- -

location or nil if not set

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

Get mark

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- Mark -

-
-
-

-
-
-

Return value:

-
-
-

#string:

-
-
- -

Mark

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

Query Mass.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

Mass in kg

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

Query Name.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#string:

-
-
- -

Name

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

Get overall mass of a cargo object, i.e.

- - -

crates needed x mass per crate

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

mass

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

Query type.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
- -
- -

Positionable

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

Get relative Stock.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

Stock Percentage like 75, or -1 if unlimited.

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

Get Resource Map information table

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#table:

-
-
- -

ResourceMap

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

Get the specific static type and shape from this CARGO if set.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return values:

-
-
-

#string:

-
-
- -

Category

- -
-
-

#string:

-
-
- -

TypeName

- -
-
-

#string:

-
-
- -

ShapeName

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

Get Stock.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

Stock or -1 if unlimited.

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

Get Stock0.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#number:

-
-
- -

Stock0 or -1 if unlimited.

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

Query Subcategory

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#string:

-
-
- -

SubCategory

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

Query Templates.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#table:

-
-
- -

Templates

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

Query type.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
- -
- -

Type

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

Query has moved.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#boolean:

-
-
- -

Has moved

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

Query crate type for REPAIR

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-
- -
-
- -
- - - -

Query crate type for STATIC

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
-
-

#boolean:

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

Query if cargo has been loaded.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #boolean - loaded -

-
-
-

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

Function to create new CTLD_CARGO object.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameters:

-
-
-

- #number - ID -

-
-
- -

ID of this #CTLD_CARGO

- -
-
-
-
-

- #string - Name -

-
-
- -

Name for menu.

- -
-
-
-
-

- #table - Templates -

-
-
- -

Table of #POSITIONABLE objects.

- -
-
-
-
-

- #CTLD_CARGO.Enum - Sorte -

-
-
- -

Enumerator of Type.

- -
-
-
-
-

- #boolean - HasBeenMoved -

-
-
- -

Flag for moving.

- -
-
-
-
-

- #boolean - LoadDirectly -

-
-
- -

Flag for direct loading.

- -
-
-
-
-

- #number - CratesNeeded -

-
-
- -

Crates needed to build.

- -
-
-
-
-

- Wrapper.Positionable#POSITIONABLE - Positionable -

-
-
- -

Representation of cargo in the mission.

- -
-
-
-
-

- #boolean - Dropped -

-
-
- -

Cargo/Troops have been unloaded from a chopper.

- -
-
-
-
-

- #number - PerCrateMass -

-
-
- -

Mass in kg

- -
-
-
-
-

- #number - Stock -

-
-
- -

Number of builds available, nil for unlimited

- -
-
-
-
-

- #string - Subcategory -

-
-
- -

Name of subcategory, handy if using > 10 types to load.

- -
-
-
-
-

- #boolean - DontShowInMenu -

-
-
- -

Show this item in menu or not (default: false == show it).

- -
-
-
-
-

- Core.Zone#ZONE - Location -

-
-
- -

(optional) Where the cargo is available (one location only).

- -
-
-

Return value:

-
- -
- -

self

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

Remove Stock.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #number - Number -

-
-
- -

to reduce, none if nil.

- -
-
-

Return value:

-
- -
- -

self

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

Set display name.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #string - DisplayName -

-
-
- -

Display label used in menus/messages (optional).

- -
-
-

Return value:

-
- -
- -

self

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

Set HasMoved.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #boolean - moved -

-
-
-

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

Add Resource Map information table

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #table - ResourceMap -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

Add specific static type and shape to this CARGO.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameters:

-
-
-

- #string - TypeName -

-
-
-

-
-
-
-
-

- #string - ShapeName -

-
-
-

-
-
-
-
-

- Category -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

Set Stock.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #number - Number -

-
-
- -

to set, nil means unlimited.

- -
-
-

Return value:

-
- -
- -

self

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

Set WasDropped.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameters:

-
-
-

- #boolean - dropped -

-
-
-

-
-
-
-
-

- #boolean - isHercDrop -

-
-
- -

set when _GetCrates is used by the herc

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

Check if a specific unit can carry this CARGO (restrict what types can pick this up).

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- Wrapper.Unit#UNIT - Unit -

-
-
-

-
-
-

Return value:

-
-
-

#boolean:

-
-
- -

Outcome

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

Query was dropped.

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Parameter:

-
-
-

- #boolean - hercOnly -

-
-
- -

If true, only treat Herc drops as 'dropped'.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

Has been dropped.

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

Wipe mark

- -
-
-

Defined in:

-
-

CTLD_CARGO

-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
-

Field(s)

-
-
-
- - #string -CTLD_CARGO.CargoType - -

Enumerator of Type.

- -
- -
-
-
- - #string -CTLD_CARGO.ClassName - -

Class name.

- -
- -
-
-
- - #number -CTLD_CARGO.CratesNeeded - -

Crates needed to build.

- -
- -
-
-
- - #string -CTLD_CARGO.DisplayName - -

Display name for menu/messages.

- -
- -
-
-
- - #boolean -CTLD_CARGO.DontShowInMenu - -

Show this item in menu or not.

- -
- -
-
- - -
-
-
- - #boolean -CTLD_CARGO.HasBeenDropped - -

True if dropped from heli.

- -
- -
-
-
- - #boolean -CTLD_CARGO.HasBeenMoved - -

Flag for moving.

- -
- -
-
-
- - #number -CTLD_CARGO.ID - -

ID of this cargo.

- -
- -
-
-
- - #boolean -CTLD_CARGO.LoadDirectly - -

Flag for direct loading.

- -
- -
-
-
- - Core.Zone#ZONE -CTLD_CARGO.Location - -

Location (if set) where to get this cargo item.

- -
- -
-
-
- - #string -CTLD_CARGO.Name - -

Name for menu.

- -
- -
-
-
- - #boolean -CTLD_CARGO.NoMoveToZone - - - -
- -
-
-
- - #number -CTLD_CARGO.PerCrateMass - -

Mass in kg.

- -
- -
-
-
- - Wrapper.Positionable#POSITIONABLE -CTLD_CARGO.Positionable - -

Representation of cargo in the mission.

- -
- -
-
-
- - #table -CTLD_CARGO.ResourceMap - -

Resource Map information table if it has been set for static cargo items.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticCategory - -

Individual static category if set.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticShape - -

Individual shape if set.

- -
- -
-
-
- - #string -CTLD_CARGO.StaticType - -

Individual type if set.

- -
- -
-
-
- - #number -CTLD_CARGO.Stock - -

Number of builds available, -1 for unlimited.

- -
- -
-
-
- - #number -CTLD_CARGO.Stock0 - -

Initial stock, if any given.

- -
- -
-
-
- - #string -CTLD_CARGO.Subcategory - -

Sub-category name.

- -
- -
-
-
- - #table -CTLD_CARGO.Templates - -

Table of #POSITIONABLE objects.

- -
- -
-
-
- - #list<#string> -CTLD_CARGO.TypeNames - -

Table of unit types able to pick this cargo up.

- -
- -
-
-

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.

- -
-
-
-
-

- IniObjectCategory -

-
-
-

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

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

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.

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

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.

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

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 Core.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 Core.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 all of the properties of an object in a table.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

of values, indexed by keys.

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

Get one property of an object by the key.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- 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!

- -
-
-

Return value:

-
-
-
-
- -

Value The value that is stored. Note that the value can be a #string, but it can also be any other type! Nil if not found.

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

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 Event for an object is triggered.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that triggered the event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

BDA.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that has crashed

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when an object is dead.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a dynamic cargo crate is removed.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

initiator : The unit that has ejected

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when any aircraft shuts down its engines.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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 -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a new mark was added.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark text was changed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark was removed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Note - not Mulitplayer safe. Use PlayerEnterAircraft. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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), autocannons, and machine guns. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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 autocannon based weapon, those are handled by EVENT.ShootingStart. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that tookoff -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when the game thinks an object is destroyed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- -
-
-
-
-

- ... -

-
-
- -

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

- -
-
-

Return value:

-
-
-

#string:

-
-
- -

The Schedule ID 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:

-
-
-

#string:

-
-
- -

The Schedule ID of the planned schedule.

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

Stops the Schedule.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - SchedulerID -

-
-
- -

(Optional) Scheduler ID to be stopped. If nil, all pending schedules are stopped.

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

Set the Class Core.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 Core.Event processing Priority.

- -
-
-

Return value:

-
-
-

#BASE:

-
-
- -

self

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

Set one property of an object.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- 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 that is stored. Note that the value can be a #string, but it can also be any other type!

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

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 -

-
-
- -

Class name.

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

Set tracing for a specific method of class

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - Class -

-
-
- -

Class name.

- -
-
-
-
-

- #string - Method -

-
-
- -

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 -

-
-
-

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

(Internal) Serialize arguments

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #table - Arguments -

-
-
-

-
-
-

Return value:

-
-
-

#string:

-
-
- -

Text

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

Trace a function logic.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

- -
-
-
-
-

- DebugInfoCurrentParam -

-
-
-

-
-
-
-
-

- DebugInfoFromParam -

-
-
-

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

The main event handling function...

- - -

This function captures all events generated for the class.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- DCS#Event - event -

-
-
-

-
-
-
- -
-
- -
- -
-

Type CTLD_CARGO.Enum

-
-
- -

Define cargo types.

- -
-

Field(s)

-
-
-
- - #string -CTLD_CARGO.Enum.CRATE - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.ENGINEERS - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.FOB - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.GCLOADABLE - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.REPAIR - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.STATIC - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.TROOPS - - - -
- -
-
-
- - #string -CTLD_CARGO.Enum.VEHICLE - - - -
- -
-
-

Function(s)

-
-
- -
-

Type CTLD_ENGINEERING

-
-
- -
    -
  • CTLD_ENGINEERING class, extends Core.Base#BASE
  • -
- -
-

Field(s)

-
-
-
- - #string -CTLD_ENGINEERING.ClassName - - - -
- -
-
- - -
-
- - -
-
- - -
-
-
- - #string -CTLD_ENGINEERING.Name - - - -
- -
-
-
- - #string -CTLD_ENGINEERING.State - - - -
- -
-
- - -
-
-
- - #string -CTLD_ENGINEERING.Version - - - -
- -
-
-
- - #string -CTLD_ENGINEERING.lid - - - -
- -
-
-
- - #number -CTLD_ENGINEERING.marktimer - - - - -

wait this many secs before trying a crate again

- -
- -
-
-

Function(s)

-
-
- - - -

(Internal) Arrived at crates in reach.

- - -

Stop group.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

(Internal) Set build status.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

(Internal) Set done status.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

(Internal) Get the status

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
-
-

#string:

-
-
- -

State

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

(Internal) Check the negative status

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameter:

-
-
-

- #string - State -

-
-
-

-
-
-

Return value:

-
-
-

#boolean:

-
-
- -

Outcome

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

(Internal) Check the status

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameter:

-
-
-

- #string - State -

-
-
-

-
-
-

Return value:

-
-
-

#boolean:

-
-
- -

Outcome

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

(Internal) Move towards crates in reach.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

Create a new instance.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameters:

-
-
-

- #string - Name -

-
-
-

-
-
-
-
-

- #string - GroupName -

-
-
- -

Name of Engineering #GROUP object

- -
-
-
-
-

- Wrapper.Group#GROUP - HeliGroup -

-
-
- -

HeliGroup

- -
-
-
-
-

- Wrapper.Unit#UNIT - HeliUnit -

-
-
- -

HeliUnit

- -
-
-

Return value:

-
- -
- -

self

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

(Internal) Search for crates in reach.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameters:

-
-
-

- #table - crates -

-
-
- -

Table of found crate Ops.CTLD#CTLD_CARGO objects.

- -
-
-
-
-

- #number - number -

-
-
- -

Number of crates found.

- -
-
-

Return value:

-
- -
- -

self

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

(Internal) Set the status

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameter:

-
-
-

- #string - State -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

(Internal) Set start status.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

(Internal) Set stop status.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Return value:

-
- -
- -

self

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

(Internal) Return distance in meters between two coordinates.

- -
-
-

Defined in:

-
-

CTLD_ENGINEERING

-
-

Parameters:

-
-
-

- Core.Point#COORDINATE - _point1 -

-
-
- -

Coordinate one

- -
-
-
-
-

- Core.Point#COORDINATE - _point2 -

-
-
- -

Coordinate two

- -
-
-

Return value:

-
-
-

#number:

-
-
- -

Distance in meters or -1

- -
-
-
- -
-
- -
-

Field(s)

-
-
-
- - #string -CTLD_ENGINEERING.ClassName - - - -
- -
-
- - -
-
- - -
-
- - -
-
-
- - #string -CTLD_ENGINEERING.Name - - - -
- -
-
-
- - #string -CTLD_ENGINEERING.State - - - -
- -
-
- - -
-
-
- - #string -CTLD_ENGINEERING.Version - - - -
- -
-
-
- - #string -CTLD_ENGINEERING.lid - - - -
- -
-
-
- - #number -CTLD_ENGINEERING.marktimer - - - - -

wait this many secs before trying a crate again

- -
- -
-
-

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.

- -
-
-
-
-

- IniObjectCategory -

-
-
-

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

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

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.

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

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.

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

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 Core.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 Core.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 all of the properties of an object in a table.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

of values, indexed by keys.

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

Get one property of an object by the key.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- 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!

- -
-
-

Return value:

-
-
-
-
- -

Value The value that is stored. Note that the value can be a #string, but it can also be any other type! Nil if not found.

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

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 Event for an object is triggered.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that triggered the event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

BDA.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that has crashed

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when an object is dead.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a dynamic cargo crate is removed.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

initiator : The unit that has ejected

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when any aircraft shuts down its engines.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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 -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a new mark was added.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark text was changed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark was removed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Note - not Mulitplayer safe. Use PlayerEnterAircraft. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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), autocannons, and machine guns. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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 autocannon based weapon, those are handled by EVENT.ShootingStart. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that tookoff -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when the game thinks an object is destroyed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- -
-
-
-
-

- ... -

-
-
- -

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

- -
-
-

Return value:

-
-
-

#string:

-
-
- -

The Schedule ID 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:

-
-
-

#string:

-
-
- -

The Schedule ID of the planned schedule.

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

Stops the Schedule.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - SchedulerID -

-
-
- -

(Optional) Scheduler ID to be stopped. If nil, all pending schedules are stopped.

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

Set the Class Core.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 Core.Event processing Priority.

- -
-
-

Return value:

-
-
-

#BASE:

-
-
- -

self

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

Set one property of an object.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- 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 that is stored. Note that the value can be a #string, but it can also be any other type!

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

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 -

-
-
- -

Class name.

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

Set tracing for a specific method of class

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - Class -

-
-
- -

Class name.

- -
-
-
-
-

- #string - Method -

-
-
- -

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 -

-
-
-

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

(Internal) Serialize arguments

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #table - Arguments -

-
-
-

-
-
-

Return value:

-
-
-

#string:

-
-
- -

Text

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

Trace a function logic.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

- -
-
-
-
-

- DebugInfoCurrentParam -

-
-
-

-
-
-
-
-

- DebugInfoFromParam -

-
-
-

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

The main event handling function...

- - -

This function captures all events generated for the class.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- DCS#Event - event -

-
-
-

-
-
-
- -
-
- -
- -
-

Type CTLD_HERCULES

-
-
- -
    -
  • CTLD_HERCULES class, extends Core.Base#BASE
  • -
- -
-

Field(s)

-
-
- - -
-
-
- - #table -CTLD_HERCULES.Cargo - - - -
- -
-
-
- - #string -CTLD_HERCULES.ClassName - - - -
- -
-
-
- - #string -CTLD_HERCULES.Name - - - -
- -
-
-
- - #table -CTLD_HERCULES.ObjectTracker - - - -
- -
-
-
- - #table -CTLD_HERCULES.ParatrooperCount - - - -
- -
-
- - -
-
-
- - #string -CTLD_HERCULES.Version - - - -
- -
-
-
- - -CTLD_HERCULES.alias - - - -
- -
-
-
- - #table -CTLD_HERCULES.carrierGroups - - - -
- -
-
- - -
-
- - -
-
-
- - #string -CTLD_HERCULES.infantrytemplate - - - - -

template for a group of 10 paratroopers

- -
- -
-
-
- - #number -CTLD_HERCULES.j - - - -
- -
-
-
- - #string -CTLD_HERCULES.lid - - - -
- -
-
-
- - #boolean -CTLD_HERCULES.verbose - - - -
- -
-
-

Function(s)

-
-
- - - -

[Internal] Function to calc initiator heading

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameter:

-
-
-

- Wrapper.Group#GROUP - Cargo_Drop_initiator -

-
-
-

-
-
-

Return value:

-
-
-

#number:

-
-
- -

north corrected heading

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

[Internal] Function to calc north correction

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameter:

-
-
-

- Core.Point#POINT_Vec3 - point -

-
-
- -

Position Vec3

- -
-
-

Return value:

-
-
-

#number:

-
-
- -

north correction

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

[Internal] Function to calculate object height

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameter:

-
-
-

- Wrapper.Group#GROUP - group -

-
-
- -

The group for which to calculate the height

- -
-
-

Return value:

-
-
-

#number:

-
-
- -

height over ground

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

[Internal] Function to initialize dropped cargo

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - Initiator -

-
-
-

-
-
-
-
-

- #table - Cargo_Contents -

-
-
- -

Table 'weapon' from event data

- -
-
-
-
-

- #string - Cargo_Type_name -

-
-
- -

Name of this cargo

- -
-
-
-
-

- #boolean - Container_Enclosed -

-
-
- -

Is container?

- -
-
-
-
-

- #boolean - SoldierGroup -

-
-
- -

Is soldier group?

- -
-
-
-
-

- #boolean - ParatrooperGroupSpawnInit -

-
-
- -

Is paratroopers?

- -
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to spawn cargo by type at position

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- #string - Cargo_Type_name -

-
-
-

-
-
-
-
-

- Core.Point#COORDINATE - Cargo_Drop_Position -

-
-
-

-
-
-
-
-

- _name -

-
-
-

-
-
-
-
-

- _pos -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to spawn a group

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - Cargo_Drop_initiator -

-
-
-

-
-
-
-
-

- Core.Point#COORDINATE - Cargo_Drop_Position -

-
-
-

-
-
-
-
-

- #string - Cargo_Type_name -

-
-
-

-
-
-
-
-

- #number - CargoHeading -

-
-
-

-
-
-
-
-

- #number - Cargo_Country -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

[Internal] Spawn cargo objects

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - Cargo_Drop_initiator -

-
-
-

-
-
-
-
-

- #number - Cargo_Drop_Direction -

-
-
-

-
-
-
-
-

- Core.Point#COORDINATE - Cargo_Content_position -

-
-
-

-
-
-
-
-

- #string - Cargo_Type_name -

-
-
-

-
-
-
-
-

- #boolean - Cargo_over_water -

-
-
-

-
-
-
-
-

- #boolean - Container_Enclosed -

-
-
-

-
-
-
-
-

- #boolean - ParatrooperGroupSpawn -

-
-
-

-
-
-
-
-

- #boolean - offload_cargo -

-
-
-

-
-
-
-
-

- #boolean - all_cargo_survive_to_the_ground -

-
-
-

-
-
-
-
-

- #boolean - all_cargo_gets_destroyed -

-
-
-

-
-
-
-
-

- #boolean - destroy_cargo_dropped_without_parachute -

-
-
-

-
-
-
-
-

- #number - Cargo_Country -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to spawn static cargo

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - Cargo_Drop_initiator -

-
-
-

-
-
-
-
-

- Core.Point#COORDINATE - Cargo_Drop_Position -

-
-
-

-
-
-
-
-

- #string - Cargo_Type_name -

-
-
-

-
-
-
-
-

- #number - CargoHeading -

-
-
-

-
-
-
-
-

- #boolean - dead -

-
-
-

-
-
-
-
-

- #number - Cargo_Country -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to track cargo objects

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- #CTLD_HERCULES.CargoObject - cargo -

-
-
-

-
-
-
-
-

- Wrapper.Group#GROUP - initiator -

-
-
-

-
-
-

Return value:

-
-
-

#number:

-
-
- -

height over ground

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

[Internal] Function to check availability of templates

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Return value:

-
- -
- -

self

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

[Internal] Function to check surface type

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - group -

-
-
- -

The group for which to calculate the height

- -
-
-
-
-

- object -

-
-
-

-
-
-

Return value:

-
-
-

#number:

-
-
- -

height over ground

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

[User] Instantiate a new object

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- #string - Coalition -

-
-
- -

Coalition side, "red", "blue" or "neutral"

- -
-
-
-
-

- #string - Alias -

-
-
- -

Name of this instance

- -
-
-
-
-

- Ops.CTLD#CTLD - CtldObject -

-
-
- -

CTLD instance to link into

- -
-
-

Return value:

-
- -
- -

self

- -
-
-

Usage:

-
Integrate to your CTLD instance like so, where `my_ctld` is a previously created CTLD instance:
-           
-           my_ctld.enableFixedWing = false -- avoid dual loading via CTLD F10 and F8 ground crew
-           local herccargo = CTLD_HERCULES:New("blue", "Hercules Test", my_ctld)
-           
-You also need: 
-* A template called "Infantry" for 10 Paratroopers (as set via herccargo.infantrytemplate). 
-* Depending on what you are loading with the help of the ground crew, there are 42 more templates for the various vehicles that are loadable. 
-There's a **quick check output in the `dcs.log`** which tells you what's there and what not.
-E.g.:
-           ...Checking template for APC BTR-82A Air [24998lb] (BTR-82A) ... MISSING)
-           ...Checking template for ART 2S9 NONA Skid [19030lb] (SAU 2-C9) ... MISSING)
-           ...Checking template for EWR SBORKA Air [21624lb] (Dog Ear radar) ... MISSING)
-           ...Checking template for Transport Tigr Air [15900lb] (Tigr_233036) ... OK)
-           
-Expected template names are the ones in the rounded brackets.
-
-### HINTS
-
-The script works on the EVENTS.Shot trigger, which is used by the mod when you **drop cargo from the Hercules while flying**. Unloading on the ground does
-not achieve anything here. If you just want to unload on the ground, use the normal Moose CTLD.
-**Do not use** the **splash damage** script together with this, your cargo will just explode when reaching the ground!
-
-### Airdrops
-
-There are two ways of airdropping:   
-1) Very low and very slow (>5m and <10m AGL) - here you can drop stuff which has "Skid" at the end of the cargo name (loaded via F8 Ground Crew menu)
-2) Higher up and slow (>100m AGL) - here you can drop paratroopers and cargo which has "Air" at the end of the cargo name (loaded via F8 Ground Crew menu)
-
-### General
-
-Use either this method to integrate the Hercules **or** the one from the "normal" CTLD. Never both!
- -
- -
-
- -
- - - -

[Internal] Function to change cargotype per group (Wrench)

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- #number - key -

-
-
- -

Carrier key id

- -
-
-
-
-

- #string - cargoType -

-
-
- -

Type of cargo

- -
-
-
-
-

- #number - cargoNum -

-
-
- -

Number of cargo objects

- -
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to spawn a soldier group of 10 units

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameters:

-
-
-

- Wrapper.Group#GROUP - Cargo_Drop_initiator -

-
-
-

-
-
-
-
-

- Core.Point#COORDINATE - Cargo_Drop_Position -

-
-
-

-
-
-
-
-

- #string - Cargo_Type_name -

-
-
-

-
-
-
-
-

- #number - CargoHeading -

-
-
-

-
-
-
-
-

- #number - Cargo_Country -

-
-
-

-
-
-
-
-

- #number - GroupSpacing -

-
-
-

-
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to capture BIRTH event

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameter:

-
-
-

- Core.Event#EVENTDATA - event -

-
-
- -

The event data

- -
-
-

Return value:

-
- -
- -

self

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

[Internal] Function to capture SHOT event

- -
-
-

Defined in:

-
-

CTLD_HERCULES

-
-

Parameter:

-
-
-

- Core.Event#EVENTDATA - Cargo_Drop_Event -

-
-
- -

The event data

- -
-
-

Return value:

-
- -
- -

self

- -
-
-
- -
-
- -
-

Field(s)

-
-
- - -
-
-
- - #table -CTLD_HERCULES.Cargo - - - -
- -
-
-
- - #string -CTLD_HERCULES.ClassName - - - -
- -
-
-
- - #string -CTLD_HERCULES.Name - - - -
- -
-
-
- - #table -CTLD_HERCULES.ObjectTracker - - - -
- -
-
-
- - #table -CTLD_HERCULES.ParatrooperCount - - - -
- -
-
- - -
-
-
- - #string -CTLD_HERCULES.Version - - - -
- -
-
-
- - -CTLD_HERCULES.alias - - - -
- -
-
-
- - #table -CTLD_HERCULES.carrierGroups - - - -
- -
-
- - -
-
- - -
-
-
- - #string -CTLD_HERCULES.infantrytemplate - - - - -

template for a group of 10 paratroopers

- -
- -
-
-
- - #number -CTLD_HERCULES.j - - - -
- -
-
-
- - #string -CTLD_HERCULES.lid - - - -
- -
-
-
- - #boolean -CTLD_HERCULES.verbose - - - -
- -
-
-

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.

- -
-
-
-
-

- IniObjectCategory -

-
-
-

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

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

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.

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

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.

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

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 Core.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 Core.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 all of the properties of an object in a table.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

of values, indexed by keys.

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

Get one property of an object by the key.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- 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!

- -
-
-

Return value:

-
-
-
-
- -

Value The value that is stored. Note that the value can be a #string, but it can also be any other type! Nil if not found.

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

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 Event for an object is triggered.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that triggered the event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

BDA.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that has crashed

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when an object is dead.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player loads a dynamic cargo object with the F8 ground crew menu into a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a dynamic cargo crate is removed.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player unloads a dynamic cargo object with the F8 ground crew menu from a helo.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a pilot ejects from an aircraft -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

initiator : The unit that has ejected

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when any aircraft shuts down its engines.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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 -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- - -

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a new mark was added.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark text was changed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mark was removed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -MarkID: ID of the mark.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission ends -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a mission starts -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when a player creates a dynamic cargo object from the F8 ground crew menu.

- - -

* NOTE * this is a workarounf for DCS not creating these events as of Aug 2024.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Note - not Mulitplayer safe. Use PlayerEnterAircraft. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -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. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

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. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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), autocannons, and machine guns. -Have a look at the class Core.Event#EVENT as these are just the prototypes. -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 autocannon based weapon, those are handled by EVENT.ShootingStart. -Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes. -initiator : The unit that tookoff -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.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

Occurs when the game thinks an object is destroyed.

- - -

Have a look at the class Core.Event#EVENT as these are just the prototypes.

- -
    -
  • 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.

- -
-
-
-
-

- ... -

-
-
- -

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

- -
-
-

Return value:

-
-
-

#string:

-
-
- -

The Schedule ID 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:

-
-
-

#string:

-
-
- -

The Schedule ID of the planned schedule.

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

Stops the Schedule.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - SchedulerID -

-
-
- -

(Optional) Scheduler ID to be stopped. If nil, all pending schedules are stopped.

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

Set the Class Core.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 Core.Event processing Priority.

- -
-
-

Return value:

-
-
-

#BASE:

-
-
- -

self

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

Set one property of an object.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- 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 that is stored. Note that the value can be a #string, but it can also be any other type!

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

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 -

-
-
- -

Class name.

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

Set tracing for a specific method of class

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - Class -

-
-
- -

Class name.

- -
-
-
-
-

- #string - Method -

-
-
- -

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 -

-
-
-

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

(Internal) Serialize arguments

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #table - Arguments -

-
-
-

-
-
-

Return value:

-
-
-

#string:

-
-
- -

Text

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

Trace a function logic.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

- -
-
-
-
-

- DebugInfoCurrentParam -

-
-
-

-
-
-
-
-

- DebugInfoFromParam -

-
-
-

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

The main event handling function...

- - -

This function captures all events generated for the class.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- DCS#Event - event -

-
-
-

-
-
-
- -
-
- -
- -
-

Type CTLD_HERCULES.CargoObject

-
-
- -

Cargo Object

- -
-

Field(s)

-
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- - #boolean -CTLD_HERCULES.CargoObject.Cargo_over_water - - - - -

pallets gets destroyed in water

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

Function(s)

-
-
- -
-

Type CTLD_HERCULES.Types

-
-
- -

Define cargo types.

- -
-

Field(s)

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- - #table -CTLD_HERCULES.Types.Type - -

Name of cargo type, container (boolean) in container or not.

diff --git a/Documentation/Ops.FlightGroup.html b/Documentation/Ops.FlightGroup.html index da7901b22..525784908 100644 --- a/Documentation/Ops.FlightGroup.html +++ b/Documentation/Ops.FlightGroup.html @@ -3294,6 +3294,12 @@

FLIGHTGROUP:DestroyUnit(UnitName, Delay)

Destroy a unit of the group.

+ + + +

FLIGHTGROUP.EPLRS

+ + @@ -8058,6 +8064,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
@@ -8080,6 +8097,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Flight is ready for takeoff. This is for FLIGHTCONTROL.

+
+ +
+
+
+ + #boolean +FLIGHTGROUP.isUncontrolled + + +
@@ -18816,6 +18844,17 @@ Here we only check if stuck whilst taxiing.

+ + + +
+
+ + +FLIGHTGROUP.isLandingAtAirbase + + +
@@ -18838,6 +18877,17 @@ Here we only check if stuck whilst taxiing.

Flight is ready for takeoff. This is for FLIGHTCONTROL.

+ + + +
+
+ + #boolean +FLIGHTGROUP.isUncontrolled + + +
@@ -39641,6 +39691,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo + + + +
+
+ + +FLIGHTGROUP.isLandingAtAirbase + + +
@@ -39663,6 +39724,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo

Flight is ready for takeoff. This is for FLIGHTCONTROL.

+ + + +
+
+ + #boolean +FLIGHTGROUP.isUncontrolled + + +
@@ -41832,6 +41904,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo + + + +
+
+ + +FLIGHTGROUP.isLandingAtAirbase + + +
@@ -41854,6 +41937,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo

Flight is ready for takeoff. This is for FLIGHTCONTROL.

+ + + +
+
+ + #boolean +FLIGHTGROUP.isUncontrolled + + +
diff --git a/Documentation/Ops.NavyGroup.html b/Documentation/Ops.NavyGroup.html index ef5644c6d..799cd6b86 100644 --- a/Documentation/Ops.NavyGroup.html +++ b/Documentation/Ops.NavyGroup.html @@ -2463,6 +2463,12 @@

NAVYGROUP:DestroyUnit(UnitName, Delay)

Destroy a unit of the group.

+ + + +

NAVYGROUP.EPLRS

+ + diff --git a/Documentation/Ops.OpsGroup.html b/Documentation/Ops.OpsGroup.html index edfb30ec7..75a17f82d 100644 --- a/Documentation/Ops.OpsGroup.html +++ b/Documentation/Ops.OpsGroup.html @@ -1692,6 +1692,12 @@

OPSGROUP:DestroyUnit(UnitName, Delay)

Destroy a unit of the group.

+ + + +

OPSGROUP.EPLRS

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

Name of the class.

+ + + +
+
+ + +OPSGROUP.EPLRS + + +
@@ -29086,6 +29103,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo

Name of the class.

+ + + +
+
+ + +OPSGROUP.EPLRS + + +
@@ -32216,6 +32244,17 @@ Optionally, you can calculate the current max weight possible, which accounts fo

Name of the class.

+ + + +
+
+ + +OPSGROUP.EPLRS + + +
diff --git a/Documentation/Ops.OpsZone.html b/Documentation/Ops.OpsZone.html index 3e68ae46c..e7ae3377d 100644 --- a/Documentation/Ops.OpsZone.html +++ b/Documentation/Ops.OpsZone.html @@ -3519,6 +3519,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

Contested.

+ @@ -7336,6 +7339,9 @@ myopszone = OPSZONE:New(ZONE_AIRBASE:New("Batumi",6000),coalition.side.BLUE) -- + +

Contested.

+ @@ -9290,6 +9296,9 @@ myopszone = OPSZONE:New(ZONE_AIRBASE:New("Batumi",6000),coalition.side.BLUE) -- + +

Contested.

+ diff --git a/Documentation/Ops.PlayerTask.html b/Documentation/Ops.PlayerTask.html index 8f5dccbad..51214725f 100644 --- a/Documentation/Ops.PlayerTask.html +++ b/Documentation/Ops.PlayerTask.html @@ -16506,7 +16506,7 @@ When moose is loading dynamically (for moose class development), tracing is swit
- #number + PLAYERTASKCONTROLLER.lasttaskcount @@ -16577,6 +16577,17 @@ When moose is loading dynamically (for moose class development), tracing is swit +
+ +
+
+
+ + #number +PLAYERTASKCONTROLLER.repeattimes + + +
@@ -24001,7 +24012,7 @@ If you don't want SEAD tasks generated, use as follows where "mycontroller" is y
- #number + PLAYERTASKCONTROLLER.lasttaskcount @@ -24072,6 +24083,17 @@ If you don't want SEAD tasks generated, use as follows where "mycontroller" is y +
+ +
+
+
+ + #number +PLAYERTASKCONTROLLER.repeattimes + + +
@@ -26472,7 +26494,7 @@ If you don't want SEAD tasks generated, use as follows where "mycontroller" is y
- #number + PLAYERTASKCONTROLLER.lasttaskcount @@ -26543,6 +26565,17 @@ If you don't want SEAD tasks generated, use as follows where "mycontroller" is y +
+ +
+
+
+ + #number +PLAYERTASKCONTROLLER.repeattimes + + +
diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index 92a8445a3..33a820772 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -8041,6 +8041,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +LIFO.uniquecounter + + +
@@ -8890,6 +8901,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +LIFO.uniquecounter + + +
diff --git a/Documentation/Wrapper.Controllable.html b/Documentation/Wrapper.Controllable.html index dea562bcb..42313e57b 100644 --- a/Documentation/Wrapper.Controllable.html +++ b/Documentation/Wrapper.Controllable.html @@ -4478,17 +4478,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -CONTROLLABLE.timer - - -
@@ -18162,17 +18151,6 @@ mygroup:WayPointExecute() - - - -
-
- - -CONTROLLABLE.timer - - -
@@ -22328,17 +22306,6 @@ Coordinates are dependent on the position of the maps origin.

- - - -
-
- - -CONTROLLABLE.timer - - -
@@ -23015,17 +22982,6 @@ If the Identifiable is alive, true is returned.

- - - -
-
- - -CONTROLLABLE.timer - - -
@@ -23213,17 +23169,6 @@ If the Identifiable is alive, true is returned.

- - - -
-
- - -CONTROLLABLE.timer - - -
diff --git a/Documentation/Wrapper.Positionable.html b/Documentation/Wrapper.Positionable.html index 4999e10c0..751d27bba 100644 --- a/Documentation/Wrapper.Positionable.html +++ b/Documentation/Wrapper.Positionable.html @@ -3786,17 +3786,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - Core.Spot#SPOT -POSITIONABLE.Spot - - -
@@ -7952,17 +7941,6 @@ Coordinates are dependent on the position of the maps origin.

- - - -
-
- - Core.Spot#SPOT -POSITIONABLE.Spot - - -
@@ -8639,17 +8617,6 @@ If the Identifiable is alive, true is returned.

- - - -
-
- - Core.Spot#SPOT -POSITIONABLE.Spot - - -
@@ -8837,17 +8804,6 @@ If the Identifiable is alive, true is returned.

- - - -
-
- - Core.Spot#SPOT -POSITIONABLE.Spot - - -