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

Flash messages to player

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

- #boolean + AI_A2A_DISPATCHER.SetSendPlayerMessages - -

Flash messages to player

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

- #boolean + AI_A2A_DISPATCHER.SetSendPlayerMessages - -

Flash messages to player

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

- #boolean + AI_A2A_DISPATCHER.SetSendPlayerMessages - -

Flash messages to player

-
diff --git a/Documentation/AI.AI_A2G_Dispatcher.html b/Documentation/AI.AI_A2G_Dispatcher.html index 0b9bc6829..1a29068e1 100644 --- a/Documentation/AI.AI_A2G_Dispatcher.html +++ b/Documentation/AI.AI_A2G_Dispatcher.html @@ -4903,6 +4903,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The Defender Default Settings over all Squadrons.

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

flash messages to players

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

The Defender Default Settings over all Squadrons.

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

- + #boolean AI_A2G_DISPATCHER.SetSendPlayerMessages + +

flash messages to players

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

The Defender Default Settings over all Squadrons.

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

- + #boolean AI_A2G_DISPATCHER.SetSendPlayerMessages + +

flash messages to players

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

The Defender Default Settings over all Squadrons.

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

- + #boolean AI_A2G_DISPATCHER.SetSendPlayerMessages + +

flash messages to players

+
diff --git a/Documentation/AI.AI_Air.html b/Documentation/AI.AI_Air.html index 0f528e50c..a735aee0b 100644 --- a/Documentation/AI.AI_Air.html +++ b/Documentation/AI.AI_Air.html @@ -3347,6 +3347,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -6200,6 +6222,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -6936,6 +6980,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
@@ -8560,6 +8626,28 @@ A random value in this bracket is then applied in the waypoint routing generatio + + + +
+
+ + #number +AI_AIR.RTBSpeedMaxFactor + + + +
+ +
+
+
+ + #number +AI_AIR.RTBSpeedMinFactor + + +
diff --git a/Documentation/AI.AI_Cargo_Airplane.html b/Documentation/AI.AI_Cargo_Airplane.html index a60f38278..35ad6a8fb 100644 --- a/Documentation/AI.AI_Cargo_Airplane.html +++ b/Documentation/AI.AI_Cargo_Airplane.html @@ -2905,20 +2905,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Field(s)

-
-
- - -AI_CARGO_AIRPLANE.Airbase - - - - -

Set destination airbase for next :Route() command.

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

Field(s)

-
-
- - -AI_CARGO_AIRPLANE.Airbase - - - - -

Set destination airbase for next :Route() command.

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

Field(s)

-
-
- - -AI_CARGO_AIRPLANE.Airbase - - - - -

Set destination airbase for next :Route() command.

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

Field(s)

-
-
- - -AI_CARGO_AIRPLANE.Airbase - - - - -

Set destination airbase for next :Route() command.

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

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

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

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

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

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

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

meter

+
- + #number AI_CARGO_HELICOPTER.landingspeed + +

kph

+
diff --git a/Documentation/Cargo.CargoGroup.html b/Documentation/Cargo.CargoGroup.html index 0ab2f5ca8..ac3f431f8 100644 --- a/Documentation/Cargo.CargoGroup.html +++ b/Documentation/Cargo.CargoGroup.html @@ -2034,6 +2034,9 @@ Therefore, this class is considered to be deprecated

+ +

Then we register the new group in the database

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

+ +
+
+
+ + CARGO_UNIT.CargoInAir @@ -2618,6 +2629,17 @@ Therefore, this class is considered to be deprecated

+ +
+
+
+ + CARGO_UNIT.CargoInAir diff --git a/Documentation/Core.Fsm.html b/Documentation/Core.Fsm.html index 8f96d0b77..9610f3e4d 100644 --- a/Documentation/Core.Fsm.html +++ b/Documentation/Core.Fsm.html @@ -6117,7 +6117,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + FSM._StartState @@ -7716,7 +7716,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + FSM._StartState diff --git a/Documentation/Core.Point.html b/Documentation/Core.Point.html index 4067b0b4d..bdab01e8f 100644 --- a/Documentation/Core.Point.html +++ b/Documentation/Core.Point.html @@ -17403,17 +17403,6 @@ When moose is loading dynamically (for moose class development), tracing is swit -
- -
-
-
- - -POINT_VEC2.z - - -
diff --git a/Documentation/Core.Settings.html b/Documentation/Core.Settings.html index 9230c357a..9d30aad47 100644 --- a/Documentation/Core.Settings.html +++ b/Documentation/Core.Settings.html @@ -3067,22 +3067,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + SETTINGS.Metric -
- -
-
-
- - -SETTINGS.PlayerMenu - - -
@@ -5235,22 +5224,11 @@ It is advised to use this method at the start of the mission.

- #boolean + SETTINGS.Metric -
- -
-
-
- - -SETTINGS.PlayerMenu - - -
diff --git a/Documentation/Core.Spawn.html b/Documentation/Core.Spawn.html index 74dfe9d60..2a29314cc 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -3224,6 +3224,30 @@ and any spaces before and after the resulting name are removed.

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

+ + + +

SPAWN.communication

+ + + + + +

SPAWN.hidden

+ + + + + +

SPAWN.livery_id

+ + + + + +

SPAWN.skill

+ + @@ -3965,9 +3989,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.

-
@@ -4067,17 +4088,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - -SPAWN.SpawnGrouping - - -
@@ -4136,17 +4146,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
@@ -4202,6 +4201,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + +SPAWN.SpawnInitFreq + + +
@@ -4268,9 +4278,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Overwrite unit names by default with group name.

-
@@ -4282,8 +4289,16 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +
+
+ -

By default, no InitLimit

+SPAWN.SpawnInitModex + +
@@ -4292,7 +4307,29 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-SPAWN.SpawnInitLivery +SPAWN.SpawnInitModexPostfix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModexPrefix + + + +
+ +
+
+
+ + +SPAWN.SpawnInitModu @@ -4310,6 +4347,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

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

+
+ +
+
+
+ + #string +SPAWN.SpawnInitSkill + + +
@@ -4341,7 +4389,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number + SPAWN.SpawnMaxGroups @@ -4355,7 +4403,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number + SPAWN.SpawnMaxUnitsAlive @@ -4568,7 +4616,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.

@@ -4642,6 +4690,50 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + +SPAWN.communication + + + +
+ +
+
+
+ + +SPAWN.hidden + + + +
+ +
+
+
+ + +SPAWN.livery_id + + + +
+ +
+
+
+ + +SPAWN.skill + + +
@@ -10379,9 +10471,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.

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

- - -
-
- - -SPAWN.SpawnGrouping - - -
@@ -10550,17 +10628,6 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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

+ + +
+
+ + +SPAWN.SpawnInitFreq + + +
@@ -10682,9 +10760,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,8 +10771,16 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

+ + +
+
+ -

By default, no InitLimit

+SPAWN.SpawnInitModex + +
@@ -10706,7 +10789,29 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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

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

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

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

- #number + SPAWN.SpawnMaxUnitsAlive @@ -10982,7 +11098,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.

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

+ +
+
+
+ + +SPAWN.communication + + + +
+ +
+
+
+ + +SPAWN.hidden + + + +
+ +
+
+
+ + +SPAWN.livery_id + + + +
+ +
+
+
+ + +SPAWN.skill + + +
diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index 0665e3a69..c4325e6d6 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -2138,24 +2138,6 @@ 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

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

- + #table SPAWNSTATIC.TemplateStaticUnit -
- -
-
-
- - -SPAWNSTATIC.heliport_callsign_id - - - -
- -
-
-
- - -SPAWNSTATIC.heliport_frequency - - - -
- -
-
-
- - -SPAWNSTATIC.heliport_modulation - - -
diff --git a/Documentation/Core.Spot.html b/Documentation/Core.Spot.html index 725fa9556..51c1c0fc2 100644 --- a/Documentation/Core.Spot.html +++ b/Documentation/Core.Spot.html @@ -2974,50 +2974,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -4301,50 +4257,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -5867,50 +5779,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
diff --git a/Documentation/Functional.ATC_Ground.html b/Documentation/Functional.ATC_Ground.html index e6902f6bc..2c20e80ca 100644 --- a/Documentation/Functional.ATC_Ground.html +++ b/Documentation/Functional.ATC_Ground.html @@ -4105,6 +4105,9 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + +

Kickspeed

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

+ +

Kickspeed

+ diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index 18c3048d3..e8f1acac7 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -20000,6 +20000,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -20132,6 +20143,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #boolean +DETECTION_BASE.Locking + + +
@@ -24754,6 +24776,17 @@ zones that reflect cloudy areas where detected units may not be so easily visual + + + +
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -24886,6 +24919,17 @@ zones that reflect cloudy areas where detected units may not be so easily visual + + + +
+
+ + #boolean +DETECTION_BASE.Locking + + +
@@ -26496,6 +26540,17 @@ zones that reflect cloudy areas where detected units may not be so easily visual + + + +
+
+ + #number +DETECTION_BASE.DetectedItemMax + + +
@@ -26628,6 +26683,17 @@ 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 06e18ca80..7faef2c2d 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -2132,6 +2132,12 @@ in the mission editor are absolute maximum ranges; in-game this is rather 50-75%

MANTIS:GetCommandCenter()

Function to get the HQ object for further use

+ + + +

MANTIS.Groupset

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

The #DETECTION_AREAS object for AWACS

+ + + +
+
+ + +MANTIS.AWACS_Prefix + + +
@@ -4385,6 +4402,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Table of Core.Zone#ZONE Zones Consider SAM groups in this zone(s) only for this MANTIS instance, must be handed as #table of Zone objects.

+ + + +
+
+ + +MANTIS.Groupset + + +
@@ -4446,7 +4474,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + MANTIS.SAM_Table_Long @@ -4457,7 +4485,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + MANTIS.SAM_Table_Medium @@ -4468,7 +4496,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #table + MANTIS.SAM_Table_Short @@ -4625,8 +4653,8 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number -MANTIS.SkateNumber + +MANTIS.SkateZones @@ -4886,50 +4914,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Prefix for logging

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

switch alarm state RED

+
@@ -8975,6 +8962,17 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

The #DETECTION_AREAS object for AWACS

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

Table of Core.Zone#ZONE Zones Consider SAM groups in this zone(s) only for this MANTIS instance, must be handed as #table of Zone objects.

+
+ +
+
+
+ + +MANTIS.Groupset + + +
@@ -9157,7 +9166,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- #table + MANTIS.SAM_Table_Long @@ -9168,7 +9177,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- #table + MANTIS.SAM_Table_Medium @@ -9179,7 +9188,7 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- #table + MANTIS.SAM_Table_Short @@ -9336,8 +9345,8 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`
- #number -MANTIS.SkateNumber + +MANTIS.SkateZones @@ -9597,50 +9606,6 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

Prefix for logging

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

switch alarm state RED

+
diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index d79a84abe..4a06452bb 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -3573,12 +3573,6 @@ manager:Stop(7200)

RAT.termtype

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

- - - -

RAT.type

- - @@ -4780,6 +4774,30 @@ and any spaces before and after the resulting name are removed.

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

+ + + +

RAT.communication

+ + + + + +

RAT.hidden

+ + + + + +

RAT.livery_id

+ + + + + +

RAT.skill

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

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

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

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

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

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

- - - -
-
- - -RAT.type - - -
diff --git a/Documentation/Functional.Range.html b/Documentation/Functional.Range.html index ccd5e6f3a..21c46a808 100644 --- a/Documentation/Functional.Range.html +++ b/Documentation/Functional.Range.html @@ -1971,6 +1971,10 @@ It consists of two strafe pits each has two targets plus three bombing targets.< -- Create a range object. GoldwaterRange=RANGE:New("Goldwater Range") + -- Set and enable the range ceiling altitude in feet MSL. If aircraft are above this altitude they are not considered to be in the range. + GoldwaterRange:SetRangeCeiling(20000) + GoldwaterRange:EnableRangeCeiling(true) + -- Distance between strafe target and foul line. You have to specify the names of the unit or static objects. -- Note that this could also be done manually by simply measuring the distance between the target and the foul line in the ME. GoldwaterRange:GetFoullineDistance("GWR Strafe Pit Left 1", "GWR Foul Line Left") @@ -2018,8 +2022,6 @@ The could avoid the lua garbage collection to accidentally/falsely deallocate th

Type RANGE

RANGE -, extends Core.Fsm#FSM -, extends Core.Base#BASE
@@ -2115,6 +2117,12 @@ The could avoid the lua garbage collection to accidentally/falsely deallocate th + + + + @@ -2319,6 +2327,12 @@ The could avoid the lua garbage collection to accidentally/falsely deallocate th + + + + @@ -2763,6 +2777,18 @@ The could avoid the lua garbage collection to accidentally/falsely deallocate th + + + + + + + + @@ -3087,874 +3113,6 @@ The could avoid the lua garbage collection to accidentally/falsely deallocate th - -

RANGE.Defaults

+

RANGE:EnableRangeCeiling(enabled)

+

Enable range ceiling.

RANGE:SetMessagesON()

Enable messages to players.

+

RANGE:SetRangeCeiling(ceiling, alt)

+

Set range ceiling altitude in feet MSL.

RANGE.bombingTargets

Table of targets to bomb.

+

RANGE.ceilingaltitude

+

Range ceiling altitude in ft MSL. Aircraft above this altitude are not considered to be in the range. Default is 20000 ft.

+

RANGE.ceilingenabled

+

Range has a ceiling and is not unlimited. Default is false.

RANGE.version

Range script version.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields and Methods inherited from FSMDescription

RANGE:AddEndState(State)

-

Adds an End state.

-

RANGE:AddProcess(From, Event, Process, ReturnEvents)

-

Set the default #FSM_PROCESS template with key ProcessName providing the ProcessClass and the process object when it is assigned to a Wrapper.Controllable by the task.

-

RANGE:AddScore(State, ScoreText, Score)

-

Adds a score for the FSM to be achieved.

-

RANGE:AddScoreProcess(From, Event, State, ScoreText, Score)

-

Adds a score for the FSM_PROCESS to be achieved.

-

RANGE:AddTransition(From, Event, To)

-

Add a new transition rule to the FSM.

-

RANGE.CallScheduler

-

Call scheduler.

-

RANGE.ClassName

-

Name of the class.

-

RANGE.Events

- -

RANGE:GetCurrentState()

-

Get current state.

-

RANGE:GetEndStates()

-

Returns the End states.

-

RANGE:GetProcess(From, Event)

- -

RANGE:GetProcesses()

-

Returns a table of the SubFSM rules defined within the FSM.

-

RANGE:GetScores()

-

Returns a table with the scores defined.

-

RANGE:GetStartState()

-

Returns the start state of the FSM.

-

RANGE:GetState()

-

Get current state.

-

RANGE:GetSubs()

-

Returns a table with the Subs defined.

-

RANGE:GetTransitions()

-

Returns a table of the transition rules defined within the FSM.

-

RANGE:Is(State)

-

Check if FSM is in state.

-

RANGE:LoadCallBacks(CallBackTable)

-

Load call backs.

-

RANGE:New()

-

Creates a new FSM object.

-

RANGE.Scores

-

Scores.

-

RANGE:SetProcess(From, Event, Fsm)

- -

RANGE:SetStartState(State)

-

Sets the start state of the FSM.

-

RANGE._EndStates

- -

RANGE._EventSchedules

- -

RANGE._Processes

- -

RANGE._Scores

- -

RANGE._StartState

- -

RANGE._Transitions

- -

RANGE:_add_to_map(Map, Event)

-

Add to map.

-

RANGE:_call_handler(step, trigger, params, EventName)

-

Call handler.

-

RANGE:_create_transition(EventName)

-

Create transition.

-

RANGE:_delayed_transition(EventName)

-

Delayed transition.

-

RANGE:_eventmap(Events, EventStructure)

-

Event map.

-

RANGE:_gosub(ParentFrom, ParentEvent)

-

Go sub.

-

RANGE:_handler(EventName, ...)

-

Handler.

-

RANGE:_isendstate(Current)

-

Is end state.

-

RANGE:_submap(subs, sub, name)

-

Sub maps.

-

RANGE:can(e)

-

Check if can do an event.

-

RANGE:cannot(e)

-

Check if cannot do an event.

-

RANGE.current

-

Current state name.

-

RANGE.endstates

- -

RANGE:is(State, state)

-

Check if FSM is in state.

-

RANGE.options

-

Options.

-

RANGE.subs

-

Subs.

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

RANGE.ClassID

-

The ID number of the class.

-

RANGE.ClassName

-

The name of the class.

-

RANGE.ClassNameAndID

-

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

-

RANGE:ClearState(Object, StateName)

-

Clear the state of an object.

-

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

-

Creation of a Birth Event.

-

RANGE:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

-

Creation of a Crash Event.

-

RANGE:CreateEventDead(EventTime, Initiator, IniObjectCategory)

-

Creation of a Dead Event.

-

RANGE:CreateEventDynamicCargoLoaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

-

RANGE:CreateEventDynamicCargoRemoved(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

-

RANGE:CreateEventDynamicCargoUnloaded(DynamicCargo)

-

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

-

RANGE:CreateEventNewDynamicCargo(DynamicCargo)

-

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

-

RANGE:CreateEventPlayerEnterAircraft(PlayerUnit)

-

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

-

RANGE:CreateEventRemoveUnit(EventTime, Initiator)

-

Creation of a Remove Unit Event.

-

RANGE:CreateEventTakeoff(EventTime, Initiator)

-

Creation of a Takeoff Event.

-

RANGE:CreateEventUnitLost(EventTime, Initiator)

-

Creation of a Crash Event.

-

RANGE:E(Arguments)

-

Log an exception which will be traced always.

-

RANGE:EventDispatcher()

-

Returns the event dispatcher

-

RANGE:EventRemoveAll()

-

Remove all subscribed events

-

RANGE:F(Arguments)

-

Trace a function call.

-

RANGE:F2(Arguments)

-

Trace a function call level 2.

-

RANGE:F3(Arguments)

-

Trace a function call level 3.

-

RANGE:GetClassID()

-

Get the ClassID of the class instance.

-

RANGE:GetClassName()

-

Get the ClassName of the class instance.

-

RANGE:GetClassNameAndID()

-

Get the ClassName + ClassID of the class instance.

-

RANGE:GetEventPriority()

-

Get the Class Core.Event processing Priority.

-

RANGE:GetParent(Child, FromClass)

-

This is the worker method to retrieve the Parent class.

-

RANGE:GetState(Object, Key)

-

Get a Value given a Key from the Object.

-

RANGE:HandleEvent(EventID, EventFunction)

-

Subscribe to a DCS Event.

-

RANGE:I(Arguments)

-

Log an information which will be traced always.

-

RANGE:Inherit(Child, Parent)

-

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

-

RANGE:IsInstanceOf(ClassName)

-

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

-

RANGE:IsTrace()

-

Enquires if tracing is on (for the class).

-

RANGE:New()

-

BASE constructor.

-

RANGE:OnEvent(EventData)

-

Occurs when an Event for an object is triggered.

-

RANGE:OnEventBDA(EventData)

-

BDA.

-

RANGE:OnEventBaseCaptured(EventData)

-

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

-

RANGE:OnEventBirth(EventData)

-

Occurs when any object is spawned into the mission.

-

RANGE:OnEventCrash(EventData)

-

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

-

RANGE:OnEventDead(EventData)

-

Occurs when an object is dead.

-

RANGE:OnEventDetailedFailure(EventData)

-

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

-

RANGE:OnEventDiscardChairAfterEjection(EventData)

-

Discard chair after ejection.

-

RANGE:OnEventDynamicCargoLoaded(EventData)

-

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

-

RANGE:OnEventDynamicCargoRemoved(EventData)

-

Occurs when a dynamic cargo crate is removed.

-

RANGE:OnEventDynamicCargoUnloaded(EventData)

-

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

-

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

-

RANGE:OnEventEngineShutdown(EventData)

-

Occurs when any aircraft shuts down its engines.

-

RANGE:OnEventEngineStartup(EventData)

-

Occurs when any aircraft starts its engines.

-

RANGE:OnEventHit(EventData)

-

Occurs whenever an object is hit by a weapon.

-

RANGE:OnEventHumanFailure(EventData)

-

Occurs when any system fails on a human controlled aircraft.

-

RANGE:OnEventKill(EventData)

-

Occurs on the death of a unit.

-

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

-

RANGE:OnEventLandingAfterEjection(EventData)

-

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

-

RANGE:OnEventLandingQualityMark(EventData)

-

Landing quality mark.

-

RANGE:OnEventMarkAdded(EventData)

-

Occurs when a new mark was added.

-

RANGE:OnEventMarkChange(EventData)

-

Occurs when a mark text was changed.

-

RANGE:OnEventMarkRemoved(EventData)

-

Occurs when a mark was removed.

-

RANGE:OnEventMissionEnd(EventData)

-

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

-

RANGE:OnEventMissionStart(EventData)

-

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

-

RANGE:OnEventNewDynamicCargo(EventData)

-

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

-

RANGE:OnEventParatrooperLanding(EventData)

-

Weapon add.

-

RANGE:OnEventPilotDead(EventData)

-

Occurs when the pilot of an aircraft is killed.

-

RANGE:OnEventPlayerEnterAircraft(EventData)

-

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

-

RANGE:OnEventPlayerEnterUnit(EventData)

-

Occurs when any player assumes direct control of a unit.

-

RANGE:OnEventPlayerLeaveUnit(EventData)

-

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

-

RANGE:OnEventRefueling(EventData)

-

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

-

RANGE:OnEventRefuelingStop(EventData)

-

Occurs when an aircraft is finished taking fuel.

-

RANGE:OnEventScore(EventData)

-

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

-

RANGE:OnEventShootingEnd(EventData)

-

Occurs when any unit stops firing its weapon.

-

RANGE:OnEventShootingStart(EventData)

-

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

-

RANGE:OnEventShot(EventData)

-

Occurs whenever any unit in a mission fires a weapon.

-

RANGE:OnEventTakeoff(EventData)

-

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

-

RANGE:OnEventTriggerZone(EventData)

-

Trigger zone.

-

RANGE:OnEventUnitLost(EventData)

-

Occurs when the game thinks an object is destroyed.

-

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

-

Schedule a new time event.

-

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

-

Schedule a new time event.

-

RANGE:ScheduleStop(SchedulerID)

-

Stops the Schedule.

-

RANGE.Scheduler

-

The scheduler object.

-

RANGE:SetEventPriority(EventPriority)

-

Set the Class Core.Event processing Priority.

-

RANGE:SetState(Object, Key, Value)

-

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

-

RANGE:T(Arguments)

-

Trace a function logic level 1.

-

RANGE:T2(Arguments)

-

Trace a function logic level 2.

-

RANGE:T3(Arguments)

-

Trace a function logic level 3.

-

RANGE:TraceAll(TraceAll)

-

Trace all methods in MOOSE

-

RANGE:TraceClass(Class)

-

Set tracing for a class

-

RANGE:TraceClassMethod(Class, Method)

-

Set tracing for a specific method of class

-

RANGE:TraceLevel(Level)

-

Set trace level

-

RANGE:TraceOff()

-

Set trace off.

-

RANGE:TraceOn()

-

Set trace on.

-

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

-

RANGE:UnHandleEvent(EventID)

-

UnSubscribe to a DCS event.

-

RANGE._

- -

RANGE:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function call.

-

RANGE:_Serialize(Arguments)

-

(Internal) Serialize arguments

-

RANGE:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-

Trace a function logic.

-

RANGE.__

- -

RANGE:onEvent(event)

-

The main event handling function...

@@ -5092,6 +4250,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+ +
+
+ + #number +RANGE.ceilingaltitude + +

Range ceiling altitude in ft MSL. Aircraft above this altitude are not considered to be in the range. Default is 20000 ft.

+ +
+ +
+
+
+ + #boolean +RANGE.ceilingenabled + +

Range has a ceiling and is not unlimited. Default is false.

+ +
+
@@ -6231,6 +5411,53 @@ Furthermore, the player must not be too high and fly in the direction of the pit
+ + + +
+ +
+

RANGE:EnableRangeCeiling(enabled)

+
+ +

Enable range ceiling.

+ + +

Aircraft must be below the ceiling altitude to be considered in the range zone.

+ +
+
+

Defined in:

+
+

RANGE

+
+

Parameter:

+
+
+

+ #boolean + enabled +

+
+
+ +

True if you would like to enable the ceiling check. If no value give, will Default to false.

+ +
+
+

Return value:

+
+
+

#RANGE:

+
+
+ +

self

+ +
+
+
+
@@ -7678,6 +6905,60 @@ Furthermore, the player must not be too high and fly in the direction of the pit + + + +
+ +
+

RANGE:SetRangeCeiling(ceiling, alt)

+
+ +

Set range ceiling altitude in feet MSL.

+ +
+
+

Defined in:

+
+

RANGE

+
+

Parameters:

+
+
+

+ #number + ceiling +

+
+
+ +

(optional) Ceiling altitude of the range in ft MSL. Default 20000ft MSL

+ +
+
+
+
+

+ alt +

+
+
+

+
+
+

Return value:

+
+
+

#RANGE:

+
+
+ +

self

+ +
+
+
+
@@ -11246,6530 +10527,6 @@ If a zone is not explicitly specified, the range zone is determined by its locat -
-

Field(s)

-
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.BombSmokeColor - -

Color id used for smoking bomb targets.

- -
- -
-
-
- - #number -RANGE.BombtrackThreshold - -

Bombs/rockets/missiles are only tracked if player-range distance is smaller than this threshold [m]. Default 25000 m.

- -
- -
-
-
- - #string -RANGE.ClassName - -

Name of the Class.

- -
- -
-
-
- - #number -RANGE.Coalition - -

Coalition side for the menu, if any.

- -
- -
-
-
- - #boolean -RANGE.Debug - -

If true, debug info is sent as messages on the screen.

- -
- -
-
-
- - #RANGE.Defaults -RANGE.Defaults - - - -
- -
-
-
- - #table -RANGE.MenuAddedTo - -

Table for monitoring which players already got an F10 menu.

- -
- -
-
-
- - #table -RANGE.MenuF10 - -

Main radio menu on group level.

- -
- -
-
-
- - #table -RANGE.MenuF10Root - -

Main radio menu on mission level.

- -
- -
-
-
- - #table -RANGE.Names - -

Global list of all defined range names.

- -
- -
-
-
- - #table -RANGE.PlayerSettings - -

Individual player settings.

- -
- -
-
-
- - #RANGE.Sound -RANGE.Sound - - - -
- -
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.StrafePitSmokeColor - -

Color id used to smoke strafe pit approach boxes.

- -
- -
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.StrafeSmokeColor - -

Color id used to smoke strafe targets.

- -
- -
-
-
- - #RANGE.TargetType -RANGE.TargetType - - - -
- -
-
-
- - #number -RANGE.TdelaySmoke - -

Time delay in seconds between impact of bomb and starting the smoke. Default 3 seconds.

- -
- -
-
-
- - #number -RANGE.Tmsg - -

Time [sec] messages to players are displayed. Default 30 sec.

- -
- -
-
-
- - #boolean -RANGE.autosave - -

If true, automatically save results every X seconds.

- -
- -
-
-
- - #table -RANGE.bombPlayerResults - -

Table containing the bombing results of each player.

- -
- -
-
-
- - #table -RANGE.bombingTargets - -

Table of targets to bomb.

- -
- -
-
-
- - Sound.SRS#MSRS -RANGE.controlmsrs - -

SRS wrapper for range controller.

- -
- -
-
-
- - Sound.SRS#MSRSQUEUE -RANGE.controlsrsQ - -

SRS queue for range controller.

- -
- -
-
-
- - #boolean -RANGE.defaultsmokebomb - -

If true, initialize player settings to smoke bomb.

- -
- -
-
-
- - #number -RANGE.dtBombtrack - -

Time step [sec] used for tracking released bomb/rocket positions. Default 0.005 seconds.

- -
- -
-
-
- - #boolean -RANGE.examinerexclusive - -

If true, only the examiner gets messages. If false, clients and examiner get messages.

- -
- -
-
-
- - #string -RANGE.examinergroupname - -

Name of the examiner group which should get all messages.

- -
- -
-
-
- - -RANGE.funkmanSocket - - - -
- -
-
-
- - #number -RANGE.illuminationmaxalt - -

Maximum altitude in meters AGL at which illumination bombs are fired. Default is 1000 m.

- -
- -
-
-
- - #number -RANGE.illuminationminalt - -

Minimum altitude in meters AGL at which illumination bombs are fired. Default is 500 m.

- -
- -
-
-
- - Sound.SRS#MSRS -RANGE.instructmsrs - -

SRS wrapper for range instructor.

- -
- -
-
-
- - Sound.RadioQueue#RADIOQUEUE -RANGE.instructor - -

Instructor radio queue.

- -
- -
-
-
- - #number -RANGE.instructorfreq - -

Frequency on which the range control transmitts.

- -
- -
-
-
- - #string -RANGE.instructorrelayname - -

Name of relay unit.

- -
- -
-
-
- - Sound.SRS#MSRSQUEUE -RANGE.instructsrsQ - -

SRS queue for range instructor.

- -
- -
-
-
- - #string -RANGE.lid - -

String id of range for output in DCS log.

- -
- -
-
-
- - Core.Point#COORDINATE -RANGE.location - -

Coordinate of the range location.

- -
- -
-
-
- - Core.Menu#MENU_MISSION -RANGE.menuF10root - -

Specific user defined root F10 menu.

- -
- -
-
-
- - #boolean -RANGE.messages - -

Globally enable/disable all messages to players.

- -
- -
-
-
- - #number -RANGE.nbombtargets - -

Number of bombing targets.

- -
- -
-
-
- - #number -RANGE.ndisplayresult - -

Number of (player) results that a displayed. Default is 10.

- -
- -
-
-
- - #number -RANGE.nstrafetargets - -

Number of strafing targets.

- -
- -
-
-
- - #table -RANGE.planes - -

Table for administration.

- -
- -
-
-
- - Sound.RadioQueue#RADIOQUEUE -RANGE.rangecontrol - -

Range control radio queue.

- -
- -
-
-
- - #number -RANGE.rangecontrolfreq - -

Frequency on which the range control transmitts.

- -
- -
-
-
- - #string -RANGE.rangecontrolrelayname - -

Name of relay unit.

- -
- -
-
-
- - #string -RANGE.rangename - -

Name of the range.

- -
- -
-
-
- - #number -RANGE.rangeradius - -

Radius of range defining its total size for e.g. smoking bomb impact points and sending radio messages. Default 5 km.

- -
- -
-
-
- - Core.Zone#ZONE -RANGE.rangezone - -

MOOSE zone object of the range. For example, no bomb impacts are smoked if bombs fall outside of the range zone.

- -
- -
-
-
- - #number -RANGE.scorebombdistance - -

Distance from closest target up to which bomb hits are counted. Default 1000 m.

- -
- -
-
-
- - #string -RANGE.soundpath - -

Path inside miz file where the sound files are located. Default is "Range Soundfiles/".

- -
- -
-
-
- - #table -RANGE.strafePlayerResults - -

Table containing the strafing results of each player.

- -
- -
-
-
- - #table -RANGE.strafeStatus - -

Table containing the current strafing target a player as assigned to.

- -
- -
-
-
- - #table -RANGE.strafeTargets - -

Table of strafing targets.

- -
- -
-
-
- - #number -RANGE.strafemaxalt - -

Maximum altitude in meters AGL for registering for a strafe run. Default is 914 m = 3000 ft.

- -
- -
-
-
- - #string -RANGE.targetpath - -

Path where to save the target sheets.

- -
- -
-
-
- - #string -RANGE.targetprefix - -

File prefix for target sheet files.

- -
- -
-
-
- - #boolean -RANGE.targetsheet - -

If true, players can save their target sheets. Rangeboss will not work if targetsheets do not save.

- -
- -
-
-
- - -RANGE.timerCheckZone - - - -
- -
-
-
- - #boolean -RANGE.trackbombs - -

If true (default), all bomb types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.trackmissiles - -

If true (default), all missile types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.trackrockets - -

If true (default), all rocket types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.useSRS - - - -
- -
-
-
- - #boolean -RANGE.verbose - -

Verbosity level. Higher means more output to DCS log file.

- -
- -
-
-
- - #string -RANGE.version - -

Range script version.

- -
- -
-
-

Function(s)

-
-
- -
-

RANGE:AddEndState(State)

-
- -

Adds an End state.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - State -

-
-
- -

The FSM state.

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

RANGE:AddProcess(From, Event, Process, ReturnEvents)

-
- -

Set the default #FSM_PROCESS template with key ProcessName providing the ProcessClass and the process object when it is assigned to a Wrapper.Controllable by the task.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #table - From -

-
-
- -

Can contain a string indicating the From state or a table of strings containing multiple From states.

- -
-
-
-
-

- #string - Event -

-
-
- -

The Event name.

- -
-
-
-
-

- Core.Fsm#FSM_PROCESS - Process -

-
-
- -

An sub-process FSM.

- -
-
-
-
-

- #table - ReturnEvents -

-
-
- -

A table indicating for which returned events of the SubFSM which Event must be triggered in the FSM.

- -
-
-

Return value:

-
- -
- -

The SubFSM.

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

RANGE:AddScore(State, ScoreText, Score)

-
- -

Adds a score for the FSM to be achieved.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - State -

-
-
- -

is the state of the process when the score needs to be given. (See the relevant state descriptions of the process).

- -
-
-
-
-

- #string - ScoreText -

-
-
- -

is a text describing the score that is given according the status.

- -
-
-
-
-

- #number - Score -

-
-
- -

is a number providing the score of the status.

- -
-
-

Return value:

-
-
-

#FSM:

-
-
- -

self

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

RANGE:AddScoreProcess(From, Event, State, ScoreText, Score)

-
- -

Adds a score for the FSM_PROCESS to be achieved.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - From -

-
-
- -

is the From State of the main process.

- -
-
-
-
-

- #string - Event -

-
-
- -

is the Event of the main process.

- -
-
-
-
-

- #string - State -

-
-
- -

is the state of the process when the score needs to be given. (See the relevant state descriptions of the process).

- -
-
-
-
-

- #string - ScoreText -

-
-
- -

is a text describing the score that is given according the status.

- -
-
-
-
-

- #number - Score -

-
-
- -

is a number providing the score of the status.

- -
-
-

Return value:

-
-
-

#FSM:

-
-
- -

self

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

RANGE:AddTransition(From, Event, To)

-
- -

Add a new transition rule to the FSM.

- - -

A transition rule defines when and if the FSM can transition from a state towards another state upon a triggered event.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #table - From -

-
-
- -

Can contain a string indicating the From state or a table of strings containing multiple From states.

- -
-
-
-
-

- #string - Event -

-
-
- -

The Event name.

- -
-
-
-
-

- #string - To -

-
-
- -

The To state.

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

RANGE:GetCurrentState()

-
- -

Get current state.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#string:

-
-
- -

Current FSM state.

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

RANGE:GetEndStates()

-
- -

Returns the End states.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

End states.

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

RANGE:GetProcess(From, Event)

-
- - - -
-
-

Defined in:

- -

Parameters:

-
-
-

- From -

-
-
-

-
-
-
-
-

- Event -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:GetProcesses()

-
- -

Returns a table of the SubFSM rules defined within the FSM.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

Sub processes.

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

RANGE:GetScores()

-
- -

Returns a table with the scores defined.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

Scores.

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

RANGE:GetStartState()

-
- -

Returns the start state of the FSM.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#string:

-
-
- -

A string containing the start state.

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

RANGE:GetState()

-
- -

Get current state.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#string:

-
-
- -

Current FSM state.

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

RANGE:GetSubs()

-
- -

Returns a table with the Subs defined.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

Sub processes.

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

RANGE:GetTransitions()

-
- -

Returns a table of the transition rules defined within the FSM.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#table:

-
-
- -

Transitions.

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

RANGE:Is(State)

-
- -

Check if FSM is in state.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - State -

-
-
- -

State name.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

If true, FSM is in this state.

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

RANGE:LoadCallBacks(CallBackTable)

-
- -

Load call backs.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #table - CallBackTable -

-
-
- -

Table of call backs.

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

RANGE:New()

-
- -

Creates a new FSM object.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#FSM:

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

RANGE:SetProcess(From, Event, Fsm)

-
- - - -
-
-

Defined in:

- -

Parameters:

-
-
-

- From -

-
-
-

-
-
-
-
-

- Event -

-
-
-

-
-
-
-
-

- Fsm -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:SetStartState(State)

-
- -

Sets the start state of the FSM.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - State -

-
-
- -

A string defining the start state.

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

RANGE:_add_to_map(Map, Event)

-
- -

Add to map.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #table - Map -

-
-
- -

Map.

- -
-
-
-
-

- #table - Event -

-
-
- -

Event table.

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

RANGE:_call_handler(step, trigger, params, EventName)

-
- -

Call handler.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - step -

-
-
- -

Step "onafter", "onbefore", "onenter", "onleave".

- -
-
-
-
-

- #string - trigger -

-
-
- -

Trigger.

- -
-
-
-
-

- #table - params -

-
-
- -

Parameters.

- -
-
-
-
-

- #string - EventName -

-
-
- -

Event name.

- -
-
-

Return value:

-
-
-
-
- -

Value.

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

RANGE:_create_transition(EventName)

-
- -

Create transition.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - EventName -

-
-
- -

Event name.

- -
-
-

Return value:

-
-
-

#function:

-
-
- -

Function.

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

RANGE:_delayed_transition(EventName)

-
- -

Delayed transition.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - EventName -

-
-
- -

Event name.

- -
-
-

Return value:

-
-
-

#function:

-
-
- -

Function.

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

RANGE:_eventmap(Events, EventStructure)

-
- -

Event map.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #table - Events -

-
-
- -

Events.

- -
-
-
-
-

- #table - EventStructure -

-
-
- -

Event structure.

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

RANGE:_gosub(ParentFrom, ParentEvent)

-
- -

Go sub.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - ParentFrom -

-
-
- -

Parent from state.

- -
-
-
-
-

- #string - ParentEvent -

-
-
- -

Parent event name.

- -
-
-

Return value:

-
-
-

#table:

-
-
- -

Subs.

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

RANGE:_handler(EventName, ...)

-
- -

Handler.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - EventName -

-
-
- -

Event name.

- -
-
-
-
-

- ... -

-
-
- -

Arguments.

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

RANGE:_isendstate(Current)

-
- -

Is end state.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - Current -

-
-
- -

Current state name.

- -
-
-

Return values:

-
-
-

#table:

-
-
- -

FSM parent.

- -
-
-

#string:

-
-
- -

Event name.

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

RANGE:_submap(subs, sub, name)

-
- -

Sub maps.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #table - subs -

-
-
- -

Subs.

- -
-
-
-
-

- #table - sub -

-
-
- -

Sub.

- -
-
-
-
-

- #string - name -

-
-
- -

Name.

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

RANGE:can(e)

-
- -

Check if can do an event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - e -

-
-
- -

Event name.

- -
-
-

Return values:

-
-
-

#boolean:

-
-
- -

If true, FSM can do the event.

- -
-
-

#string:

-
-
- -

To state.

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

RANGE:cannot(e)

-
- -

Check if cannot do an event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - e -

-
-
- -

Event name.

- -
-
-

Return value:

-
-
-

#boolean:

-
-
- -

If true, FSM cannot do the event.

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

RANGE:is(State, state)

-
- -

Check if FSM is in state.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - State -

-
-
- -

State name.

- -
-
-
-
-

- state -

-
-
-

-
-
-

Return value:

-
-
-

#boolean:

-
-
- -

If true, FSM is in this state.

- -
-
-
- -
-
- -
-

Field(s)

-
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.BombSmokeColor - -

Color id used for smoking bomb targets.

- -
- -
-
-
- - #number -RANGE.BombtrackThreshold - -

Bombs/rockets/missiles are only tracked if player-range distance is smaller than this threshold [m]. Default 25000 m.

- -
- -
-
-
- - #string -RANGE.ClassName - -

Name of the Class.

- -
- -
-
-
- - #number -RANGE.Coalition - -

Coalition side for the menu, if any.

- -
- -
-
-
- - #boolean -RANGE.Debug - -

If true, debug info is sent as messages on the screen.

- -
- -
-
-
- - #RANGE.Defaults -RANGE.Defaults - - - -
- -
-
-
- - #table -RANGE.MenuAddedTo - -

Table for monitoring which players already got an F10 menu.

- -
- -
-
-
- - #table -RANGE.MenuF10 - -

Main radio menu on group level.

- -
- -
-
-
- - #table -RANGE.MenuF10Root - -

Main radio menu on mission level.

- -
- -
-
-
- - #table -RANGE.Names - -

Global list of all defined range names.

- -
- -
-
-
- - #table -RANGE.PlayerSettings - -

Individual player settings.

- -
- -
-
-
- - #RANGE.Sound -RANGE.Sound - - - -
- -
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.StrafePitSmokeColor - -

Color id used to smoke strafe pit approach boxes.

- -
- -
-
-
- - Utilities.Utils#SMOKECOLOR -RANGE.StrafeSmokeColor - -

Color id used to smoke strafe targets.

- -
- -
-
-
- - #RANGE.TargetType -RANGE.TargetType - - - -
- -
-
-
- - #number -RANGE.TdelaySmoke - -

Time delay in seconds between impact of bomb and starting the smoke. Default 3 seconds.

- -
- -
-
-
- - #number -RANGE.Tmsg - -

Time [sec] messages to players are displayed. Default 30 sec.

- -
- -
-
-
- - #boolean -RANGE.autosave - -

If true, automatically save results every X seconds.

- -
- -
-
-
- - #table -RANGE.bombPlayerResults - -

Table containing the bombing results of each player.

- -
- -
-
-
- - #table -RANGE.bombingTargets - -

Table of targets to bomb.

- -
- -
-
-
- - Sound.SRS#MSRS -RANGE.controlmsrs - -

SRS wrapper for range controller.

- -
- -
-
-
- - Sound.SRS#MSRSQUEUE -RANGE.controlsrsQ - -

SRS queue for range controller.

- -
- -
-
-
- - #boolean -RANGE.defaultsmokebomb - -

If true, initialize player settings to smoke bomb.

- -
- -
-
-
- - #number -RANGE.dtBombtrack - -

Time step [sec] used for tracking released bomb/rocket positions. Default 0.005 seconds.

- -
- -
-
-
- - #boolean -RANGE.examinerexclusive - -

If true, only the examiner gets messages. If false, clients and examiner get messages.

- -
- -
-
-
- - #string -RANGE.examinergroupname - -

Name of the examiner group which should get all messages.

- -
- -
-
-
- - -RANGE.funkmanSocket - - - -
- -
-
-
- - #number -RANGE.illuminationmaxalt - -

Maximum altitude in meters AGL at which illumination bombs are fired. Default is 1000 m.

- -
- -
-
-
- - #number -RANGE.illuminationminalt - -

Minimum altitude in meters AGL at which illumination bombs are fired. Default is 500 m.

- -
- -
-
-
- - Sound.SRS#MSRS -RANGE.instructmsrs - -

SRS wrapper for range instructor.

- -
- -
-
-
- - Sound.RadioQueue#RADIOQUEUE -RANGE.instructor - -

Instructor radio queue.

- -
- -
-
-
- - #number -RANGE.instructorfreq - -

Frequency on which the range control transmitts.

- -
- -
-
-
- - #string -RANGE.instructorrelayname - -

Name of relay unit.

- -
- -
-
-
- - Sound.SRS#MSRSQUEUE -RANGE.instructsrsQ - -

SRS queue for range instructor.

- -
- -
-
-
- - #string -RANGE.lid - -

String id of range for output in DCS log.

- -
- -
-
-
- - Core.Point#COORDINATE -RANGE.location - -

Coordinate of the range location.

- -
- -
-
-
- - Core.Menu#MENU_MISSION -RANGE.menuF10root - -

Specific user defined root F10 menu.

- -
- -
-
-
- - #boolean -RANGE.messages - -

Globally enable/disable all messages to players.

- -
- -
-
-
- - #number -RANGE.nbombtargets - -

Number of bombing targets.

- -
- -
-
-
- - #number -RANGE.ndisplayresult - -

Number of (player) results that a displayed. Default is 10.

- -
- -
-
-
- - #number -RANGE.nstrafetargets - -

Number of strafing targets.

- -
- -
-
-
- - #table -RANGE.planes - -

Table for administration.

- -
- -
-
-
- - Sound.RadioQueue#RADIOQUEUE -RANGE.rangecontrol - -

Range control radio queue.

- -
- -
-
-
- - #number -RANGE.rangecontrolfreq - -

Frequency on which the range control transmitts.

- -
- -
-
-
- - #string -RANGE.rangecontrolrelayname - -

Name of relay unit.

- -
- -
-
-
- - #string -RANGE.rangename - -

Name of the range.

- -
- -
-
-
- - #number -RANGE.rangeradius - -

Radius of range defining its total size for e.g. smoking bomb impact points and sending radio messages. Default 5 km.

- -
- -
-
-
- - Core.Zone#ZONE -RANGE.rangezone - -

MOOSE zone object of the range. For example, no bomb impacts are smoked if bombs fall outside of the range zone.

- -
- -
-
-
- - #number -RANGE.scorebombdistance - -

Distance from closest target up to which bomb hits are counted. Default 1000 m.

- -
- -
-
-
- - #string -RANGE.soundpath - -

Path inside miz file where the sound files are located. Default is "Range Soundfiles/".

- -
- -
-
-
- - #table -RANGE.strafePlayerResults - -

Table containing the strafing results of each player.

- -
- -
-
-
- - #table -RANGE.strafeStatus - -

Table containing the current strafing target a player as assigned to.

- -
- -
-
-
- - #table -RANGE.strafeTargets - -

Table of strafing targets.

- -
- -
-
-
- - #number -RANGE.strafemaxalt - -

Maximum altitude in meters AGL for registering for a strafe run. Default is 914 m = 3000 ft.

- -
- -
-
-
- - #string -RANGE.targetpath - -

Path where to save the target sheets.

- -
- -
-
-
- - #string -RANGE.targetprefix - -

File prefix for target sheet files.

- -
- -
-
-
- - #boolean -RANGE.targetsheet - -

If true, players can save their target sheets. Rangeboss will not work if targetsheets do not save.

- -
- -
-
-
- - -RANGE.timerCheckZone - - - -
- -
-
-
- - #boolean -RANGE.trackbombs - -

If true (default), all bomb types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.trackmissiles - -

If true (default), all missile types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.trackrockets - -

If true (default), all rocket types are tracked and impact point to closest bombing target is evaluated.

- -
- -
-
-
- - #boolean -RANGE.useSRS - - - -
- -
-
-
- - #boolean -RANGE.verbose - -

Verbosity level. Higher means more output to DCS log file.

- -
- -
-
-
- - #string -RANGE.version - -

Range script version.

- -
- -
-
-

Function(s)

-
-
- -
-

RANGE:ClearState(Object, StateName)

-
- -

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.

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

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

-
- -

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 -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

-
- -

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 -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:CreateEventDead(EventTime, Initiator, 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 -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:CreateEventDynamicCargoLoaded(DynamicCargo)

-
- -

Creation of a S_EVENT_DYNAMIC_CARGO_LOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

RANGE:CreateEventDynamicCargoRemoved(DynamicCargo)

-
- -

Creation of a S_EVENT_DYNAMIC_CARGO_REMOVED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

RANGE:CreateEventDynamicCargoUnloaded(DynamicCargo)

-
- -

Creation of a S_EVENT_DYNAMIC_CARGO_UNLOADED event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

RANGE:CreateEventNewDynamicCargo(DynamicCargo)

-
- -

Creation of a S_EVENT_NEW_DYNAMIC_CARGO event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.DynamicCargo#DYNAMICCARGO - DynamicCargo -

-
-
- -

the dynamic cargo object

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

RANGE:CreateEventPlayerEnterAircraft(PlayerUnit)

-
- -

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Wrapper.Unit#UNIT - PlayerUnit -

-
-
- -

The aircraft unit the player entered.

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

RANGE:CreateEventRemoveUnit(EventTime, Initiator)

-
- -

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.

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

RANGE:CreateEventTakeoff(EventTime, Initiator)

-
- -

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.

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

RANGE:CreateEventUnitLost(EventTime, Initiator)

-
- -

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.

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

RANGE:E(Arguments)

-
- -

Log an exception which will be traced always.

- - -

Can be anywhere within the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:EventDispatcher()

-
- -

Returns the event dispatcher

- -
-
-

Defined in:

- -

Return value:

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

RANGE:EventRemoveAll()

-
- -

Remove all subscribed events

- -
-
-

Defined in:

- -

Return value:

-
-
-

#BASE:

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

RANGE:F(Arguments)

-
- -

Trace a function call.

- - -

Must be at the beginning of the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:F2(Arguments)

-
- -

Trace a function call level 2.

- - -

Must be at the beginning of the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:F3(Arguments)

-
- -

Trace a function call level 3.

- - -

Must be at the beginning of the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:GetClassID()

-
- -

Get the ClassID of the class instance.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#string:

-
-
- -

The ClassID of the class instance.

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

RANGE:GetClassName()

-
- -

Get the ClassName of the class instance.

- -
-
-

Defined in:

- -

Return value:

-
-
-

#string:

-
-
- -

The ClassName of the class instance.

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

RANGE:GetClassNameAndID()

-
- -

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.

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

RANGE:GetEventPriority()

-
- -

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.

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

RANGE:GetParent(Child, FromClass)

-
- -

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:

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

RANGE:GetState(Object, Key)

-
- -

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.

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

RANGE:HandleEvent(EventID, EventFunction)

-
- -

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:

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

RANGE:I(Arguments)

-
- -

Log an information which will be traced always.

- - -

Can be anywhere within the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:Inherit(Child, Parent)

-
- -

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

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

RANGE:IsInstanceOf(ClassName)

-
- -

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

- - - -

Examples:

- - - - -
-
-

Defined in:

- -

Parameter:

-
-
-

- ClassName -

-
-
- -

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

- -
-
-

Return value:

-
-
-

#boolean:

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

RANGE:IsTrace()

-
- -

Enquires if tracing is on (for the class).

- -
-
-

Defined in:

- -

Return value:

-
-
-

#boolean:

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

RANGE:New()

-
- -

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:

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

RANGE:OnEvent(EventData)

-
- -

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.

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

RANGE:OnEventBDA(EventData)

-
- -

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.

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

RANGE:OnEventBaseCaptured(EventData)

-
- -

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.

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

RANGE:OnEventBirth(EventData)

-
- -

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.

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

RANGE:OnEventCrash(EventData)

-
- -

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.

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

RANGE:OnEventDead(EventData)

-
- -

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.

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

RANGE:OnEventDetailedFailure(EventData)

-
- -

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

- - -

Will update this page when new information become available.

- - - - -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

RANGE:OnEventDiscardChairAfterEjection(EventData)

-
- -

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.

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

RANGE:OnEventDynamicCargoLoaded(EventData)

-
- -

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.

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

RANGE:OnEventDynamicCargoRemoved(EventData)

-
- -

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.

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

RANGE:OnEventDynamicCargoUnloaded(EventData)

-
- -

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.

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

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

- - -

initiator : The unit that has ejected

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

RANGE:OnEventEngineShutdown(EventData)

-
- -

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.

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

RANGE:OnEventEngineStartup(EventData)

-
- -

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.

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

RANGE:OnEventHit(EventData)

-
- -

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.

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

RANGE:OnEventHumanFailure(EventData)

-
- -

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.

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

RANGE:OnEventKill(EventData)

-
- -

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.

- - - - -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

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

- - -

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.

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

RANGE:OnEventLandingAfterEjection(EventData)

-
- -

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.

- - - - -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTDATA - EventData -

-
-
- -

The EventData structure.

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

RANGE:OnEventLandingQualityMark(EventData)

-
- -

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.

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

RANGE:OnEventMarkAdded(EventData)

-
- -

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.

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

RANGE:OnEventMarkChange(EventData)

-
- -

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.

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

RANGE:OnEventMarkRemoved(EventData)

-
- -

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.

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

RANGE:OnEventMissionEnd(EventData)

-
- -

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.

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

RANGE:OnEventMissionStart(EventData)

-
- -

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.

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

RANGE:OnEventNewDynamicCargo(EventData)

-
- -

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.

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

RANGE:OnEventParatrooperLanding(EventData)

-
- -

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.

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

RANGE:OnEventPilotDead(EventData)

-
- -

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.

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

RANGE:OnEventPlayerEnterAircraft(EventData)

-
- -

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.

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

RANGE:OnEventPlayerEnterUnit(EventData)

-
- -

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.

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

RANGE:OnEventPlayerLeaveUnit(EventData)

-
- -

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.

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

RANGE:OnEventRefueling(EventData)

-
- -

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.

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

RANGE:OnEventRefuelingStop(EventData)

-
- -

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.

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

RANGE:OnEventScore(EventData)

-
- -

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.

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

RANGE:OnEventShootingEnd(EventData)

-
- -

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.

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

RANGE:OnEventShootingStart(EventData)

-
- -

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.

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

RANGE:OnEventShot(EventData)

-
- -

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.

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

RANGE:OnEventTakeoff(EventData)

-
- -

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.

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

RANGE:OnEventTriggerZone(EventData)

-
- -

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.

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

RANGE:OnEventUnitLost(EventData)

-
- -

Occurs when the game thinks an object is destroyed.

- - -

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.

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

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

-
- -

Schedule a new time event.

- - -

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

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #number - Start -

-
-
- -

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

- -
-
-
-
-

- #function - SchedulerFunction -

-
-
- -

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

- -
-
-
-
-

- #table - ... -

-
-
- -

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

- -
-
-

Return value:

-
-
-

#string:

-
-
- -

The Schedule ID of the planned schedule.

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

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

-
- -

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.

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

RANGE:ScheduleStop(SchedulerID)

-
- -

Stops the Schedule.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - SchedulerID -

-
-
- -

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

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

RANGE:SetEventPriority(EventPriority)

-
- -

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

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

RANGE:SetState(Object, Key, Value)

-
- -

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.

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

RANGE:T(Arguments)

-
- -

Trace a function logic level 1.

- - -

Can be anywhere within the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:T2(Arguments)

-
- -

Trace a function logic level 2.

- - -

Can be anywhere within the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:T3(Arguments)

-
- -

Trace a function logic level 3.

- - -

Can be anywhere within the function logic.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

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

RANGE:TraceAll(TraceAll)

-
- -

Trace all methods in MOOSE

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #boolean - TraceAll -

-
-
- -

true = trace all methods in MOOSE.

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

RANGE:TraceClass(Class)

-
- -

Set tracing for a class

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #string - Class -

-
-
- -

Class name.

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

RANGE:TraceClassMethod(Class, Method)

-
- -

Set tracing for a specific method of class

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- #string - Class -

-
-
- -

Class name.

- -
-
-
-
-

- #string - Method -

-
-
- -

Method.

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

RANGE:TraceLevel(Level)

-
- -

Set trace level

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #number - Level -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:TraceOff()

-
- -

Set trace off.

- -
-
-

Defined in:

- -

Usage:

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

RANGE:TraceOn()

-
- -

Set trace on.

- -
-
-

Defined in:

- -

Usage:

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

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

- - -

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

RANGE:UnHandleEvent(EventID)

-
- -

UnSubscribe to a DCS event.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- Core.Event#EVENTS - EventID -

-
-
- -

Event ID.

- -
-
-

Return value:

-
-
-

#BASE:

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

RANGE:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-
- -

Trace a function call.

- - -

This function is private.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

- -
-
-
-
-

- DebugInfoCurrentParam -

-
-
-

-
-
-
-
-

- DebugInfoFromParam -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:_Serialize(Arguments)

-
- -

(Internal) Serialize arguments

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- #table - Arguments -

-
-
-

-
-
-

Return value:

-
-
-

#string:

-
-
- -

Text

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

RANGE:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

-
- -

Trace a function logic.

- -
-
-

Defined in:

- -

Parameters:

-
-
-

- Arguments -

-
-
- -

A #table or any field.

- -
-
-
-
-

- DebugInfoCurrentParam -

-
-
-

-
-
-
-
-

- DebugInfoFromParam -

-
-
-

-
-
-
- -
-
- -
- -
-

RANGE:onEvent(event)

-
- -

The main event handling function...

- - -

This function captures all events generated for the class.

- -
-
-

Defined in:

- -

Parameter:

-
-
-

- DCS#Event - event -

-
-
-

-
-
-
- -
-
- diff --git a/Documentation/Ops.Airboss.html b/Documentation/Ops.Airboss.html index 37cb9bbff..17e166701 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -9777,17 +9777,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Radio queue of LSO.

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

Radio queue of marshal.

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

Radio queue of LSO.

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

Radio queue of marshal.

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

Radio queue of LSO.

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

Radio queue of marshal.

- - - -
-
- - -AIRBOSS.RQMid - - -
@@ -41228,9 +41162,6 @@ When moose is loading dynamically (for moose class development), tracing is swit - -

Set case of f

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

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

- - - -
-
- - #boolean -AIRBOSS.PlayerData.holding - - -
diff --git a/Documentation/Ops.CTLD.html b/Documentation/Ops.CTLD.html index 22bdef4bd..192e9da84 100644 --- a/Documentation/Ops.CTLD.html +++ b/Documentation/Ops.CTLD.html @@ -8192,6 +8192,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Name of the class.

+ + + +
+
+ + #number +CTLD.CrateCounter + + +
@@ -8212,7 +8223,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CTLD.CtldUnits @@ -8298,7 +8309,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CTLD.FreeFMFrequencies @@ -8320,11 +8331,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CTLD.FreeVHFFrequencies + +

Beacons

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

Folderpath.

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

time to repairor build a unit/group

+

noob catch

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

Name of the class.

+
+ +
+
+
+ + #number +CTLD.CrateCounter + + +
@@ -19011,7 +19039,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.CtldUnits @@ -19097,7 +19125,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.FreeFMFrequencies @@ -19119,11 +19147,14 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.FreeVHFFrequencies + +

Beacons

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

Folderpath.

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

time to repairor build a unit/group

+

noob catch

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

Name of the class.

+
+ +
+
+
+ + #number +CTLD.CrateCounter + + +
@@ -21464,7 +21509,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.CtldUnits @@ -21550,7 +21595,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.FreeFMFrequencies @@ -21572,11 +21617,14 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.FreeVHFFrequencies + +

Beacons

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

Folderpath.

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

time to repairor build a unit/group

+

noob catch

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

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

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

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

-
- -
-
-
- - -CTLD_CARGO.Mark - - -
@@ -32449,6 +32478,17 @@ When moose is loading dynamically (for moose class development), tracing is swit +
+ + +
+
+ + Core.Point#COORDINATE +CTLD_ENGINEERING.currwpt + + +
@@ -33102,6 +33142,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + Core.Point#COORDINATE +CTLD_ENGINEERING.currwpt + + +
@@ -36955,17 +37006,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

template for a group of 10 paratroopers

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

template for a group of 10 paratroopers

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

- - - -
-
- - -TASK.TaskControlMenu - - -
diff --git a/Documentation/Tasking.Task_CARGO.html b/Documentation/Tasking.Task_CARGO.html index 4e7617360..dad052db6 100644 --- a/Documentation/Tasking.Task_CARGO.html +++ b/Documentation/Tasking.Task_CARGO.html @@ -3335,11 +3335,22 @@ based on the tasking capabilities defined in
- + Cargo.Cargo#CARGO FSM_PROCESS.Cargo +
+ + +
+
+ + +FSM_PROCESS.DeployZone + + +
@@ -3372,7 +3383,7 @@ based on the tasking capabilities defined in
- #number + TASK_CARGO.CargoLimit @@ -4794,7 +4805,7 @@ based on the tasking capabilities defined in
- #number + TASK_CARGO.CargoLimit @@ -9326,7 +9337,7 @@ If the Unit is part of the Task, true is returned.

- #number + TASK_CARGO.CargoLimit diff --git a/Documentation/Tasking.Task_Cargo_Dispatcher.html b/Documentation/Tasking.Task_Cargo_Dispatcher.html index 1655bc6db..3f6dca849 100644 --- a/Documentation/Tasking.Task_Cargo_Dispatcher.html +++ b/Documentation/Tasking.Task_Cargo_Dispatcher.html @@ -3375,8 +3375,41 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+ +
+
+ + +
+
+ + +
+
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks @@ -4481,8 +4514,41 @@ This method can only be used once!

+ + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks @@ -5339,8 +5405,41 @@ This method can only be used once!

+ + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks @@ -6828,8 +6927,41 @@ This method can only be used once!

+ + +
+
+ + #boolean +TASK_CARGO_DISPATCHER.CSARTasks diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index a3c0c72cf..58eaee2e8 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -3467,6 +3467,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Stack by pointer.

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

Stack by pointer.

+
+ +
+
+
+ + #number +FIFO.uniquecounter + + +
diff --git a/Documentation/Wrapper.Marker.html b/Documentation/Wrapper.Marker.html index 7d5a02085..2ebf945ec 100644 --- a/Documentation/Wrapper.Marker.html +++ b/Documentation/Wrapper.Marker.html @@ -3181,6 +3181,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Coordinate of the mark.

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

Text displayed in the mark panel.

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

Coordinate of the mark.

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

Text displayed in the mark panel.

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

Coordinate of the mark.

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

Text displayed in the mark panel.

- - - -
-
- - #boolean -MARKER.toall - - - -
- -
-
-
- - #boolean -MARKER.tocoalition - - -