diff --git a/Documentation/AI.AI_A2G_Dispatcher.html b/Documentation/AI.AI_A2G_Dispatcher.html index 7d099ea57..3d24da8f6 100644 --- a/Documentation/AI.AI_A2G_Dispatcher.html +++ b/Documentation/AI.AI_A2G_Dispatcher.html @@ -4756,6 +4756,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 + + +
@@ -13234,6 +13245,17 @@ multiplied by the Overhead and rounded up to the smallest integer.

The Defender Default Settings over all Squadrons.

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

The Defender Default Settings over all Squadrons.

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

The Defender Default Settings over all Squadrons.

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

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

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

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

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

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

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

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

- diff --git a/Documentation/AI.AI_Cargo_Airplane.html b/Documentation/AI.AI_Cargo_Airplane.html index 049661484..d3f8c6e58 100644 --- a/Documentation/AI.AI_Cargo_Airplane.html +++ b/Documentation/AI.AI_Cargo_Airplane.html @@ -2705,20 +2705,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.

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

Aircraft is on a depoly mission.

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

Aircraft is on a pickup mission.

+ @@ -4495,20 +4481,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.

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

Aircraft is on a depoly mission.

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

Aircraft is on a pickup mission.

+ @@ -5127,20 +5099,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.

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

Aircraft is on a depoly mission.

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

Aircraft is on a pickup mission.

+ @@ -6647,20 +6605,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.

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

Aircraft is on a depoly mission.

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

Aircraft is on a pickup mission.

+ diff --git a/Documentation/Core.Set.html b/Documentation/Core.Set.html index f043236ae..d7586a0ab 100644 --- a/Documentation/Core.Set.html +++ b/Documentation/Core.Set.html @@ -2178,6 +2178,69 @@ See the following example:


+ + + +
+ + + + + +

Global SET_OPSZONE

+

Mission designers can use the Core.Set#SET_OPSZONE class to build sets of zones of various types.

+
+
+
+
+ + #SET_OPSZONE +SET_OPSZONE + +

Mission designers can use the Core.Set#SET_OPSZONE class to build sets of zones of various types.

+ + + +

SET_OPSZONE constructor

+ +

Create a new SET_OPSZONE object with the SET_OPSZONE.New method:

+ + + +

Add or Remove ZONEs from SET_OPSZONE

+ +

ZONEs can be added and removed using the Core.Set#SET_OPSZONE.AddZonesByName and Core.Set#SET_OPSZONE.RemoveZonesByName respectively. +These methods take a single ZONE name or an array of ZONE names to be added or removed from SET_OPSZONE.

+ +

SET_OPSZONE filter criteria

+ +

You can set filter criteria to build the collection of zones in SET_OPSZONE. +Filter criteria are defined by:

+ + + +

Once the filter criteria have been set for the SET_OPSZONE, you can start filtering using:

+ + + +

SET_OPSZONE iterators

+ +

Once the filters have been defined and the SET_OPSZONE has been built, you can iterate the SET_OPSZONE with the available iterator methods. +The iterator methods will walk the SET_OPSZONE set, and call for each airbase within the set a function that you provide. +The following iterator methods are currently available within the SET_OPSZONE:

+ + + +
+
@@ -2840,7 +2903,7 @@ The following iterator methods are currently available within the SET_ZONE_GOAL: -

SET_AIRBASE:Clear()

+

SET_AIRBASE:Clear(TriggerEvent)

Clear the Objects in the Set.

@@ -2866,7 +2929,13 @@ The following iterator methods are currently available within the SET_ZONE_GOAL:

SET_AIRBASE.Filter

-

Table of filters.

+

Filters

+ + + +

SET_AIRBASE:FilterClear()

+ +

Clear all filters.

@@ -2962,7 +3031,7 @@ The following iterator methods are currently available within the SET_ZONE_GOAL:

SET_AIRBASE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_BASE:Clear()

+

SET_BASE:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_BASE.Filter

-

Table of filters.

+

Filters

+ + + +

SET_BASE:FilterClear()

+ +

Clear all filters.

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

SET_BASE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_BASE:onEvent(event)

The main event handling function...

+ + + + + +

Type SET_BASE.Filters

+
+ SET_BASE.Filters +
+
+ + + + + + + + + + + +
Fields and Methods inherited from SET_BASE.FiltersDescription

SET_BASE.Filters.Coalition

+

Coalitions

+

SET_BASE.Filters.Prefix

+

Prefixes.

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

SET_CARGO:Clear()

+

SET_CARGO:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_CARGO.Filter

-

Table of filters.

+

Filters

+ + + +

SET_CARGO:FilterClear()

+ +

Clear all filters.

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

SET_CARGO:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_CLIENT:Clear()

+

SET_CLIENT:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_CLIENT.Filter

-

Table of filters.

+

Filters

+ + + +

SET_CLIENT:FilterClear()

+ +

Clear all filters.

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

SET_CLIENT:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -6585,7 +6697,7 @@ provides an easy to use shortcut...

-

SET_GROUP:FilterCategories(Categories)

+

SET_GROUP:FilterCategories(Categories, Clear)

Builds a set of groups out of categories.

@@ -6621,7 +6733,7 @@ provides an easy to use shortcut...

-

SET_GROUP:FilterCoalitions(Coalitions)

+

SET_GROUP:FilterCoalitions(Coalitions, Clear)

Builds a set of groups of coalitions.

@@ -6645,7 +6757,7 @@ provides an easy to use shortcut...

-

SET_GROUP:FilterZones(Zones)

+

SET_GROUP:FilterZones(Zones, Clear)

Builds a set of groups in zones.

@@ -6719,7 +6831,13 @@ provides an easy to use shortcut...

SET_GROUP:GetAliveSet()

-

Gets the Set.

+

Get a new set that only contains alive groups.

+ + + +

SET_GROUP:GetClosestGroup(Coordinate, Coalitions)

+ +

Get the closest group of the set with respect to a given reference coordinate.

@@ -6799,7 +6917,7 @@ mission designer to add a dedicated method

-

SET_GROUP:Clear()

+

SET_GROUP:Clear(TriggerEvent)

Clear the Objects in the Set.

@@ -6825,7 +6943,13 @@ mission designer to add a dedicated method

SET_GROUP.Filter

-

Table of filters.

+

Filters

+ + + +

SET_GROUP:FilterClear()

+ +

Clear all filters.

@@ -6921,7 +7045,7 @@ mission designer to add a dedicated method

SET_GROUP:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_OPSGROUP:FilterCategories(Categories)

+

SET_OPSGROUP:FilterCategories(Categories, Clear)

Builds a set of groups out of categories.

@@ -7704,19 +7828,19 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

SET_OPSGROUP:FilterCoalitions(Coalitions)

+

SET_OPSGROUP:FilterCoalitions(Coalitions, Clear)

Builds a set of groups of coalitions.

-

SET_OPSGROUP:FilterCountries(Countries)

+

SET_OPSGROUP:FilterCountries(Countries, Clear)

Builds a set of groups of defined countries.

-

SET_OPSGROUP:FilterPrefixes(Prefixes)

+

SET_OPSGROUP:FilterPrefixes(Prefixes, Clear)

Builds a set of groups that contain the given string in their group name.

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

SET_OPSGROUP:GetAliveSet()

-

Gets the Set.

+

Gets a new set that only contains alive groups.

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

SET_OPSGROUP:Clear()

+

SET_OPSGROUP:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_OPSGROUP.Filter

-

Table of filters.

+

Filters

+ + + +

SET_OPSGROUP:FilterClear()

+ +

Clear all filters.

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

SET_OPSGROUP:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -8635,6 +8765,997 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

SET_OPSGROUP:onEvent(event)

The main event handling function...

+ + + +
+ +

Type SET_OPSZONE

+
+ SET_OPSZONE +, extends Core.Set#SET_BASE +, extends Core.Base#BASE +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields and Methods inherited from SET_OPSZONEDescription

SET_OPSZONE:AddInDatabase(Event)

+

Handles the Database to check on an event (birth) that the Object was added in the Database.

+

SET_OPSZONE:AddZone(Zone)

+

Add an OPSZONE to set.

+

SET_OPSZONE:FilterClear()

+

Clear all filters.

+

SET_OPSZONE:FilterCoalitions(Coalitions)

+

Builds a set of groups of coalitions.

+

SET_OPSZONE:FilterOnce()

+

Filters for the defined collection.

+

SET_OPSZONE:FilterPrefixes(Prefixes)

+

Builds a set of OPSZONEs that contain the given string in their name.

+

SET_OPSZONE:FilterStart()

+

Starts the filtering.

+

SET_OPSZONE:FilterStop()

+

Stops the filtering for the defined collection.

+

SET_OPSZONE:FindInDatabase(Event)

+

Handles the Database to check on any event that Object exists in the Database.

+

SET_OPSZONE:FindZone(ZoneName)

+

Finds a Zone based on its name.

+

SET_OPSZONE:ForEachZone(IteratorFunction, ...)

+

Iterate the SET_OPSZONE and call an iterator function for each ZONE, providing the ZONE and optional parameters.

+

SET_OPSZONE:GetClosestZone(Coordinate, Coalitions)

+

Get the closest OPSZONE from a given reference coordinate.

+

SET_OPSZONE:GetRandomZone()

+

Get a random zone from the set.

+

SET_OPSZONE:IsCoordinateInZone(Coordinate)

+

Validate if a coordinate is in one of the zones in the set.

+

SET_OPSZONE:IsIncludeObject(MZone)

+

Private function that checks if an object is contained in the set or filtered.

+

SET_OPSZONE:New()

+

Creates a new SET_OPSZONE object, building a set of zones.

+

SET_OPSZONE:OnEventDeleteZoneGoal(EventData)

+

Handles the OnDead or OnCrash event for alive units set.

+

SET_OPSZONE:OnEventNewZoneGoal(EventData)

+

Handles the OnEventNewZone event for the Set.

+

SET_OPSZONE:RemoveZonesByName(RemoveZoneNames)

+

Remove ZONEs from SET_OPSZONE.

+

SET_OPSZONE:SetZoneProbability(ZoneName, Probability)

+

Set a zone probability.

+

SET_OPSZONE:Start()

+

Start all opszones of the set.

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fields and Methods inherited from SET_BASEDescription

SET_OPSZONE:Add(ObjectName, Object)

+

Adds a Core.Base#BASE object in the Core.Set#SET_BASE, using a given ObjectName as the index.

+

SET_OPSZONE:AddObject(Object)

+

Adds a Core.Base#BASE object in the Core.Set#SET_BASE, using the Object Name as the index.

+

SET_OPSZONE:AddSet(SetToAdd)

+

Add a SET to this set.

+

SET_OPSZONE.CallScheduler

+ +

SET_OPSZONE:Clear(TriggerEvent)

+

Clear the Objects in the Set.

+

SET_OPSZONE:CompareSets(SetA, SetB)

+

Compare two sets.

+

SET_OPSZONE:Count()

+

Retrieves the amount of objects in the Core.Set#SET_BASE and derived classes.

+

SET_OPSZONE.Database

+ +

SET_OPSZONE.Filter

+

Filters

+

SET_OPSZONE:FilterClear()

+

Clear all filters.

+

SET_OPSZONE:FilterCrashes()

+

Starts the filtering of the Crash events for the collection.

+

SET_OPSZONE:FilterDeads()

+

Starts the filtering of the Dead events for the collection.

+

SET_OPSZONE:FilterOnce()

+

Filters for the defined collection.

+

SET_OPSZONE:FilterStop()

+

Stops the filtering for the defined collection.

+

SET_OPSZONE:FindNearestObjectFromPointVec2(PointVec2)

+

Iterate the SET_BASE while identifying the nearest object from a Core.Point#POINT_VEC2.

+

SET_OPSZONE:Flush(MasterObject)

+

Flushes the current SET_BASE contents in the log ...

+

SET_OPSZONE:ForEach(IteratorFunction, arg, Set, Function, FunctionArguments)

+

Iterate the SET_BASE and derived classes and call an iterator function for the given SET_BASE, providing the Object for each element within the set and optional parameters.

+

SET_OPSZONE:ForSome(IteratorFunction, arg, Set, Function, FunctionArguments)

+

Iterate the SET_BASE and derived classes and call an iterator function for the given SET_BASE, providing the Object for each element within the set and optional parameters.

+

SET_OPSZONE:Get(ObjectName)

+

Gets a Core.Base#BASE object from the Core.Set#SET_BASE and derived classes, based on the Object Name.

+

SET_OPSZONE:GetFirst()

+

Gets the first object from the Core.Set#SET_BASE and derived classes.

+

SET_OPSZONE:GetLast()

+

Gets the last object from the Core.Set#SET_BASE and derived classes.

+

SET_OPSZONE:GetObjectNames()

+

Gets a string with all the object names.

+

SET_OPSZONE:GetRandom()

+

Gets a random object from the Core.Set#SET_BASE and derived classes.

+

SET_OPSZONE:GetSet()

+

Gets the Set.

+

SET_OPSZONE:GetSetComplement(SetB)

+

Get the complement of two sets.

+

SET_OPSZONE:GetSetIntersection(SetB)

+

Get the intersection of this set, called A , and another set.

+

SET_OPSZONE:GetSetNames()

+

Gets a list of the Names of the Objects in the Set.

+

SET_OPSZONE:GetSetObjects()

+

Returns a table of the Objects in the Set.

+

SET_OPSZONE:GetSetUnion(SetB)

+

Get the union of two sets.

+

SET_OPSZONE:GetSomeIteratorLimit()

+

Get the SET iterator "limit".

+

SET_OPSZONE.Index

+

Table of indices.

+

SET_OPSZONE:IsInSet(Object)

+

Decides whether an object is in the SET

+

SET_OPSZONE:IsIncludeObject(Object)

+

Decides whether to include the Object.

+

SET_OPSZONE:IsNotInSet(Object)

+

Decides whether an object is not in the SET

+

SET_OPSZONE.List

+

Unused table.

+

SET_OPSZONE:New(Database)

+

Creates a new SET_BASE object, building a set of units belonging to a coalitions, categories, countries, types or with defined prefix names.

+

SET_OPSZONE:OnAfterAdded(From, Event, To, ObjectName, Object)

+

Added Handler OnAfter for SET_BASE

+

SET_OPSZONE:OnAfterRemoved(From, Event, To, ObjectName, Object)

+

Removed Handler OnAfter for SET_BASE

+

SET_OPSZONE:Remove(ObjectName, NoTriggerEvent)

+

Removes a Core.Base#BASE object from the Core.Set#SET_BASE and derived classes, based on the Object Name.

+

SET_OPSZONE.Set

+

Table of objects.

+

SET_OPSZONE:SetDatabase(BaseSet)

+

Copies the Filter criteria from a given Set (for rebuilding a new Set based on an existing Set).

+

SET_OPSZONE:SetIteratorIntervals(YieldInterval, TimeInterval)

+

Define the SET iterator "yield interval" and the "time interval".

+

SET_OPSZONE:SetSomeIteratorLimit(Limit)

+

Define the SET iterator "limit".

+

SET_OPSZONE.SomeIteratorLimit

+ +

SET_OPSZONE:SortByName()

+

Sort the set by name.

+

SET_OPSZONE.TimeInterval

+ +

SET_OPSZONE.YieldInterval

+ +

SET_OPSZONE:_EventOnBirth(Event)

+

Handles the OnBirth event for the Set.

+

SET_OPSZONE:_EventOnDeadOrCrash(Event)

+

Handles the OnDead or OnCrash event for alive units set.

+

SET_OPSZONE:_FilterStart()

+

Starts the filtering for the defined collection.

+

SET_OPSZONE:_Find(ObjectName)

+

Finds an Core.Base#BASE object based on the object Name.

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

SET_OPSZONE.ClassID

+

The ID number of the class.

+

SET_OPSZONE.ClassName

+

The name of the class.

+

SET_OPSZONE.ClassNameAndID

+

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

+

SET_OPSZONE:ClearState(Object, StateName)

+

Clear the state of an object.

+

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

+

Creation of a Birth Event.

+

SET_OPSZONE:CreateEventCrash(EventTime, Initiator, IniObjectCategory)

+

Creation of a Crash Event.

+

SET_OPSZONE:CreateEventDead(EventTime, Initiator, IniObjectCategory)

+

Creation of a Dead Event.

+

SET_OPSZONE:CreateEventPlayerEnterAircraft(PlayerUnit)

+

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

+

SET_OPSZONE:CreateEventRemoveUnit(EventTime, Initiator)

+

Creation of a Remove Unit Event.

+

SET_OPSZONE:CreateEventTakeoff(EventTime, Initiator)

+

Creation of a Takeoff Event.

+

SET_OPSZONE:CreateEventUnitLost(EventTime, Initiator)

+

Creation of a Crash Event.

+

SET_OPSZONE:E(Arguments)

+

Log an exception which will be traced always.

+

SET_OPSZONE:EventDispatcher()

+

Returns the event dispatcher

+

SET_OPSZONE:EventRemoveAll()

+

Remove all subscribed events

+

SET_OPSZONE:F(Arguments)

+

Trace a function call.

+

SET_OPSZONE:F2(Arguments)

+

Trace a function call level 2.

+

SET_OPSZONE:F3(Arguments)

+

Trace a function call level 3.

+

SET_OPSZONE:GetClassID()

+

Get the ClassID of the class instance.

+

SET_OPSZONE:GetClassName()

+

Get the ClassName of the class instance.

+

SET_OPSZONE:GetClassNameAndID()

+

Get the ClassName + ClassID of the class instance.

+

SET_OPSZONE:GetEventPriority()

+

Get the Class Core.Event processing Priority.

+

SET_OPSZONE:GetParent(Child, FromClass)

+

This is the worker method to retrieve the Parent class.

+

SET_OPSZONE:GetState(Object, Key)

+

Get a Value given a Key from the Object.

+

SET_OPSZONE:HandleEvent(EventID, EventFunction)

+

Subscribe to a DCS Event.

+

SET_OPSZONE:I(Arguments)

+

Log an information which will be traced always.

+

SET_OPSZONE:Inherit(Child, Parent)

+

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

+

SET_OPSZONE:IsInstanceOf(ClassName)

+

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

+

SET_OPSZONE:IsTrace()

+

Enquires if tracing is on (for the class).

+

SET_OPSZONE:New()

+

BASE constructor.

+

SET_OPSZONE:OnEvent(EventData)

+

Occurs when an Event for an object is triggered.

+

SET_OPSZONE:OnEventBDA(EventData)

+

BDA.

+

SET_OPSZONE:OnEventBaseCaptured(EventData)

+

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

+

SET_OPSZONE:OnEventBirth(EventData)

+

Occurs when any object is spawned into the mission.

+

SET_OPSZONE:OnEventCrash(EventData)

+

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

+

SET_OPSZONE:OnEventDead(EventData)

+

Occurs when an object is dead.

+

SET_OPSZONE:OnEventDetailedFailure(EventData)

+

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

+

SET_OPSZONE:OnEventDiscardChairAfterEjection(EventData)

+

Discard chair after ejection.

+

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

+

SET_OPSZONE:OnEventEngineShutdown(EventData)

+

Occurs when any aircraft shuts down its engines.

+

SET_OPSZONE:OnEventEngineStartup(EventData)

+

Occurs when any aircraft starts its engines.

+

SET_OPSZONE:OnEventHit(EventData)

+

Occurs whenever an object is hit by a weapon.

+

SET_OPSZONE:OnEventHumanFailure(EventData)

+

Occurs when any system fails on a human controlled aircraft.

+

SET_OPSZONE:OnEventKill(EventData)

+

Occurs on the death of a unit.

+

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

+

SET_OPSZONE:OnEventLandingAfterEjection(EventData)

+

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

+

SET_OPSZONE:OnEventLandingQualityMark(EventData)

+

Landing quality mark.

+

SET_OPSZONE:OnEventMarkAdded(EventData)

+

Occurs when a new mark was added.

+

SET_OPSZONE:OnEventMarkChange(EventData)

+

Occurs when a mark text was changed.

+

SET_OPSZONE:OnEventMarkRemoved(EventData)

+

Occurs when a mark was removed.

+

SET_OPSZONE:OnEventMissionEnd(EventData)

+

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

+

SET_OPSZONE:OnEventMissionStart(EventData)

+

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

+

SET_OPSZONE:OnEventParatrooperLanding(EventData)

+

Weapon add.

+

SET_OPSZONE:OnEventPilotDead(EventData)

+

Occurs when the pilot of an aircraft is killed.

+

SET_OPSZONE:OnEventPlayerEnterAircraft(EventData)

+

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

+

SET_OPSZONE:OnEventPlayerEnterUnit(EventData)

+

Occurs when any player assumes direct control of a unit.

+

SET_OPSZONE:OnEventPlayerLeaveUnit(EventData)

+

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

+

SET_OPSZONE:OnEventRefueling(EventData)

+

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

+

SET_OPSZONE:OnEventRefuelingStop(EventData)

+

Occurs when an aircraft is finished taking fuel.

+

SET_OPSZONE:OnEventScore(EventData)

+

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

+

SET_OPSZONE:OnEventShootingEnd(EventData)

+

Occurs when any unit stops firing its weapon.

+

SET_OPSZONE:OnEventShootingStart(EventData)

+

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

+

SET_OPSZONE:OnEventShot(EventData)

+

Occurs whenever any unit in a mission fires a weapon.

+

SET_OPSZONE:OnEventTakeoff(EventData)

+

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

+

SET_OPSZONE:OnEventTriggerZone(EventData)

+

Trigger zone.

+

SET_OPSZONE:OnEventUnitLost(EventData)

+

Occurs when the game thinks an object is destroyed.

+

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

+

Schedule a new time event.

+

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

+

Schedule a new time event.

+

SET_OPSZONE:ScheduleStop(SchedulerID)

+

Stops the Schedule.

+

SET_OPSZONE.Scheduler

+ +

SET_OPSZONE:SetEventPriority(EventPriority)

+

Set the Class Core.Event processing Priority.

+

SET_OPSZONE:SetState(Object, Key, Value)

+

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

+

SET_OPSZONE:T(Arguments)

+

Trace a function logic level 1.

+

SET_OPSZONE:T2(Arguments)

+

Trace a function logic level 2.

+

SET_OPSZONE:T3(Arguments)

+

Trace a function logic level 3.

+

SET_OPSZONE:TraceAll(TraceAll)

+

Trace all methods in MOOSE

+

SET_OPSZONE:TraceClass(Class)

+

Set tracing for a class

+

SET_OPSZONE:TraceClassMethod(Class, Method)

+

Set tracing for a specific method of class

+

SET_OPSZONE:TraceLevel(Level)

+

Set trace level

+

SET_OPSZONE:TraceOff()

+

Set trace off.

+

SET_OPSZONE:TraceOn()

+

Set trace on.

+

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

+

SET_OPSZONE:UnHandleEvent(EventID)

+

UnSubscribe to a DCS event.

+

SET_OPSZONE._

+ +

SET_OPSZONE:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

+

Trace a function call.

+

SET_OPSZONE:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam)

+

Trace a function logic.

+

SET_OPSZONE.__

+ +

SET_OPSZONE:onEvent(event)

+

The main event handling function...

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

SET_PLAYER:Clear()

+

SET_PLAYER:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_PLAYER.Filter

-

Table of filters.

+

Filters

+ + + +

SET_PLAYER:FilterClear()

+ +

Clear all filters.

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

SET_PLAYER:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_SCENERY:Clear()

+

SET_SCENERY:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_SCENERY.Filter

-

Table of filters.

+

Filters

+ + + +

SET_SCENERY:FilterClear()

+ +

Clear all filters.

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

SET_SCENERY:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_STATIC:Clear()

+

SET_STATIC:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_STATIC.Filter

-

Table of filters.

+

Filters

+ + + +

SET_STATIC:FilterClear()

+ +

Clear all filters.

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

SET_STATIC:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_UNIT:Clear()

+

SET_UNIT:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_UNIT.Filter

-

Table of filters.

+

Filters

+ + + +

SET_UNIT:FilterClear()

+ +

Clear all filters.

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

SET_UNIT:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_ZONE:ForEachZone(IteratorFunction, ...)

Iterate the SET_ZONE and call an iterator function for each ZONE, providing the ZONE and optional parameters.

+ + + +

SET_ZONE:GetClosestZone(Coordinate)

+ +

Get the closest zone to a given coordinate.

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

SET_ZONE:Clear()

+

SET_ZONE:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_ZONE.Filter

-

Table of filters.

+

Filters

+ + + +

SET_ZONE:FilterClear()

+ +

Clear all filters.

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

SET_ZONE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

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

SET_ZONE_GOAL:Clear()

+

SET_ZONE_GOAL:Clear(TriggerEvent)

Clear the Objects in the Set.

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

SET_ZONE_GOAL.Filter

-

Table of filters.

+

Filters

+ + + +

SET_ZONE_GOAL:FilterClear()

+ +

Clear all filters.

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

SET_ZONE_GOAL:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -15497,7 +16660,7 @@ DatabaseSet = SET_AIRBASE:New()

Clear the Objects in the Set.

@@ -15508,6 +16671,20 @@ DatabaseSet = SET_AIRBASE:New() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -15608,6 +16785,39 @@ DatabaseSet = SET_AIRBASE:New()
+
+
+ +
+ +
+

SET_AIRBASE:FilterClear()

+
+ +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -16244,7 +17454,7 @@ DatabaseSet = SET_AIRBASE:New()

SET_AIRBASE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -16256,13 +17466,27 @@ DatabaseSet = SET_AIRBASE:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -16285,11 +17509,11 @@ DatabaseSet = SET_AIRBASE:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -16315,11 +17539,11 @@ DatabaseSet = SET_AIRBASE:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -16431,11 +17655,11 @@ DatabaseSet = SET_AIRBASE:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -16758,6 +17982,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -20469,10 +21694,10 @@ When moose is loading dynamically (for moose class development), tracing is swit
- #table + #SET_BASE.Filters SET_BASE.Filter -

Table of filters.

+

Filters

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

Clear the Objects in the Set.

@@ -20692,6 +21917,20 @@ When moose is loading dynamically (for moose class development), tracing is swit

SET_BASE

+

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -20792,6 +22031,39 @@ When moose is loading dynamically (for moose class development), tracing is swit
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+
+

SET_BASE

+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

SET_BASE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -21440,13 +22712,27 @@ When moose is loading dynamically (for moose class development), tracing is swit
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -21469,11 +22755,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -21499,11 +22785,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -21615,11 +22901,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -21942,6 +23228,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -22294,10 +23581,10 @@ DBObject = SET_BASE:New()
- #table + #SET_BASE.Filters SET_BASE.Filter -

Table of filters.

+

Filters

@@ -25707,6 +26994,43 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +

Type SET_BASE.Filters

+
+
+ +

Filters

+ +
+

Field(s)

+
+
+
+ + #table +SET_BASE.Filters.Coalition + +

Coalitions

+ +
+ +
+
+
+ + #table +SET_BASE.Filters.Prefix + +

Prefixes.

+ +
+ +
+
+

Function(s)

+
@@ -26815,7 +28139,7 @@ DatabaseSet = SET_CARGO:New()
-

SET_CARGO:Clear()

+

SET_CARGO:Clear(TriggerEvent)

Clear the Objects in the Set.

@@ -26826,6 +28150,20 @@ DatabaseSet = SET_CARGO:New()

Core.Set#SET_BASE

+

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -26926,6 +28264,39 @@ DatabaseSet = SET_CARGO:New()
+
+ + +
+ +
+

SET_CARGO:FilterClear()

+
+ +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -27562,7 +28933,7 @@ DatabaseSet = SET_CARGO:New()

SET_CARGO:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -27574,13 +28945,27 @@ DatabaseSet = SET_CARGO:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -27603,11 +28988,11 @@ DatabaseSet = SET_CARGO:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -27633,11 +29018,11 @@ DatabaseSet = SET_CARGO:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -27749,11 +29134,11 @@ DatabaseSet = SET_CARGO:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -28076,6 +29461,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -32335,7 +33721,7 @@ ClientSet = SET_CLIENT:New():FilterActive( false ):FilterCoalition( "blue" ):Fil

Return value:

@@ -32932,7 +34318,7 @@ DBObject = SET_CLIENT:New()

Clear the Objects in the Set.

@@ -32943,6 +34329,20 @@ DBObject = SET_CLIENT:New() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -33043,6 +34443,39 @@ DBObject = SET_CLIENT:New()
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -33679,7 +35112,7 @@ DBObject = SET_CLIENT:New()

SET_CLIENT:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -33691,13 +35124,27 @@ DBObject = SET_CLIENT:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -33720,11 +35167,11 @@ DBObject = SET_CLIENT:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -33750,11 +35197,11 @@ DBObject = SET_CLIENT:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -33866,11 +35313,11 @@ DBObject = SET_CLIENT:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -34193,6 +35640,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -38571,7 +40019,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Builds a set of groups out of categories.

@@ -38585,7 +40033,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

SET_GROUP

-

Parameter:

+

Parameters:

@@ -38597,6 +40045,19 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Can take the following values: "plane", "helicopter", "ground", "ship".

+
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+

Return value:

@@ -38768,7 +40229,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Builds a set of groups of coalitions.

@@ -38782,7 +40243,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

SET_GROUP

-

Parameter:

+

Parameters:

@@ -38794,6 +40255,19 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Can take the following values: "red", "blue", "neutral".

+
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+

Return value:

@@ -38939,7 +40413,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Builds a set of groups in zones.

@@ -38950,7 +40424,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

SET_GROUP

-

Parameter:

+

Parameters:

@@ -38962,6 +40436,19 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Table of Core.Zone#ZONE Zone objects, or a Core.Set#SET_ZONE

+
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+

Return value:

@@ -39609,7 +41096,7 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

SET_GROUP:GetAliveSet()

-

Gets the Set.

+

Get a new set that only contains alive groups.

@@ -39620,16 +41107,81 @@ GroupSet = SET_GROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Filte

Return value:

-

#table:

+

#SET_GROUP:

-

Table of objects

+

Set of alive groups.

+
+
+ +
+ + + +

Get the closest group of the set with respect to a given reference coordinate.

+ + +

Optionally, only groups of given coalitions are considered in the search.

+ +
+
+

Defined in:

+
+

SET_GROUP

+
+

Parameters:

+
+
+

+ Core.Point#COORDINATE + Coordinate +

+
+
+ +

Reference Coordinate from which the closest group is determined.

+ +
+
+
+
+

+ Coalitions +

+
+
+

+
+
+

Return values:

+
+ +
+ +

The closest group (if any).

+ +
+
+

#number:

+
+
+ +

Distance in meters to the closest group.

+ +
+
+
+
@@ -40065,7 +41617,7 @@ MySetGroup:SetCargoBayWeightLimit()

Clear the Objects in the Set.

@@ -40076,6 +41628,20 @@ MySetGroup:SetCargoBayWeightLimit() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -40176,6 +41742,39 @@ MySetGroup:SetCargoBayWeightLimit()
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -40812,7 +42411,7 @@ MySetGroup:SetCargoBayWeightLimit()

SET_GROUP:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -40824,13 +42423,27 @@ MySetGroup:SetCargoBayWeightLimit()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -40853,11 +42466,11 @@ MySetGroup:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -40883,11 +42496,11 @@ MySetGroup:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -40999,11 +42612,11 @@ MySetGroup:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -41326,6 +42939,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -45367,7 +46981,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Builds a set of groups out of categories.

@@ -45390,7 +47004,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

SET_OPSGROUP

-

Parameter:

+

Parameters:

@@ -45402,6 +47016,19 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Can take the following values: "plane", "helicopter", "ground", "ship" or combinations as a table, for example {"plane", "helicopter"}.

+
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+

Return value:

@@ -45573,7 +47200,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Builds a set of groups of coalitions.

@@ -45587,7 +47214,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

SET_OPSGROUP

-

Parameter:

+

Parameters:

@@ -45601,47 +47228,16 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

-

Return value:

-
- -
- -

self

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

Builds a set of groups of defined countries.

- -
-
-

Defined in:

-
-

SET_OPSGROUP

-
-

Parameter:

- #string - Countries + #boolean + Clear

-

Can take those country strings known within DCS world.

+

If true, clear any previously defined filters.

@@ -45664,7 +47260,64 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi
+ +

Builds a set of groups of defined countries.

+ +
+
+

Defined in:

+
+

SET_OPSGROUP

+
+

Parameters:

+
+
+

+ #string + Countries +

+
+
+ +

Can take those country strings known within DCS world.

+ +
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+ +
+
+

Return value:

+
+ +
+ +

self

+ +
+
+
+ +
+
+ +
+ +

Builds a set of groups that contain the given string in their group name.

@@ -45678,7 +47331,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

SET_OPSGROUP

-

Parameter:

+

Parameters:

@@ -45690,6 +47343,19 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

The string pattern(s) that needs to be contained in the group name. Can also be passed as a #table of strings.

+
+
+
+
+

+ #boolean + Clear +

+
+
+ +

If true, clear any previously defined filters.

+

Return value:

@@ -46031,7 +47697,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

SET_OPSGROUP:GetAliveSet()

-

Gets the Set.

+

Gets a new set that only contains alive groups.

@@ -46359,7 +48025,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Clear the Objects in the Set.

@@ -46370,6 +48036,20 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -46470,6 +48150,39 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -47106,7 +48819,7 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

SET_OPSGROUP:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -47118,13 +48831,27 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -47147,11 +48874,11 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -47177,11 +48904,11 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -47293,11 +49020,11 @@ GroupSet = SET_OPSGROUP:New():FilterActive( false ):FilterCoalition( "blue" ):Fi

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -47620,6 +49347,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -51269,6 +52997,6040 @@ When moose is loading dynamically (for moose class development), tracing is swit

The main event handling function...

+

This function captures all events generated for the class.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ DCS#Event + event +

+
+
+

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

Field(s)

+
+
+

Function(s)

+
+
+ + + +

Handles the Database to check on an event (birth) that the Object was added in the Database.

+ + +

This is required, because sometimes the DATABASE birth event gets called later than the SETBASE birth event!

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Core.Event#EVENTDATA + Event +

+
+
+

+
+
+

Return values:

+
+
+

#string:

+
+
+ +

The name of the AIRBASE

+ +
+
+

#table:

+
+
+ +

The AIRBASE

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

Add an OPSZONE to set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Ops.OpsZone#OPSZONE + Zone +

+
+
+ +

The OPSZONE object.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Clear all filters.

+ + +

You still need to apply FilterOnce() to have an effect on the set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

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

Builds a set of groups of coalitions.

+ + +

Possible current coalitions are red, blue and neutral.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ #string + Coalitions +

+
+
+ +

Can take the following values: "red", "blue", "neutral" or combinations as a table, for example {"red", "neutral"}.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Filters for the defined collection.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

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

Builds a set of OPSZONEs that contain the given string in their name.

+ + +

ATTENTION! Bad naming convention as this does not filter only prefixes but all zones that contain the string.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ #string + Prefixes +

+
+
+ +

The string pattern(s) that needs to be contained in the zone name. Can also be passed as a #table of strings.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Starts the filtering.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

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

Stops the filtering for the defined collection.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

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

Handles the Database to check on any event that Object exists in the Database.

+ + +

This is required, because sometimes the DATABASE event gets called later than the SETBASE event or vise versa!

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Core.Event#EVENTDATA + Event +

+
+
+

+
+
+

Return values:

+
+
+

#string:

+
+
+ +

The name of the AIRBASE

+ +
+
+

#table:

+
+
+ +

The AIRBASE

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

Finds a Zone based on its name.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ #string + ZoneName +

+
+
+

+
+
+

Return value:

+
+ +
+ +

The found Zone.

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

Iterate the SET_OPSZONE and call an iterator function for each ZONE, providing the ZONE and optional parameters.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameters:

+
+
+

+ #function + IteratorFunction +

+
+
+ +

The function that will be called when there is an alive ZONE in the SET_OPSZONE. The function needs to accept a AIRBASE parameter.

+ +
+
+
+
+

+ ... +

+
+
+

+
+
+

Return value:

+
+ +
+ +

self

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

Get the closest OPSZONE from a given reference coordinate.

+ + +

Only started zones are considered.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameters:

+
+
+

+ Core.Point#COORDINATE + Coordinate +

+
+
+ +

The reference coordinate from which the closest zone is determined.

+ +
+
+
+
+

+ #table + Coalitions +

+
+
+ +

Only consider the given coalition(s), e.g. {coaliton.side.RED} to find the closest red zone.

+ +
+
+

Return values:

+
+ +
+ +

The closest OPSZONE (if any).

+ +
+
+

#number:

+
+
+ +

Distance to ref coordinate in meters.

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

Get a random zone from the set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

The random Zone.

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

Validate if a coordinate is in one of the zones in the set.

+ + +

Returns the ZONE object where the coordiante is located. +If zones overlap, the first zone that validates the test is returned.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Core.Point#COORDINATE + Coordinate +

+
+
+ +

The coordinate to be searched.

+ +
+
+

Return values:

+
+ +
+ +

The zone that validates the coordinate location.

+ +
+
+

#nil:

+
+
+ +

No zone has been found.

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

Private function that checks if an object is contained in the set or filtered.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Ops.OpsZone#OPSZONE + MZone +

+
+
+ +

The OPSZONE object.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Creates a new SET_OPSZONE object, building a set of zones.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

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

Handles the OnDead or OnCrash event for alive units set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+

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

Handles the OnEventNewZone event for the Set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+

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

Remove ZONEs from SET_OPSZONE.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameter:

+
+
+

+ #table + RemoveZoneNames +

+
+
+ +

A single name or an array of OPSZONE names.

+ +
+
+

Return value:

+
+ +
+ +

self

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

Set a zone probability.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Parameters:

+
+
+

+ #string + ZoneName +

+
+
+ +

The name of the zone.

+ +
+
+
+
+

+ #number + Probability +

+
+
+ +

The probability in percent.

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

Start all opszones of the set.

+ +
+
+

Defined in:

+
+

SET_OPSZONE

+
+

Return value:

+
+ +
+ +

self

+ +
+
+
+ +
+
+ +
+

Field(s)

+
+
+

Function(s)

+
+
+ + + +

Adds a Core.Base#BASE object in the Core.Set#SET_BASE, using a given ObjectName as the index.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + ObjectName +

+
+
+ +

The name of the object.

+ +
+
+
+
+

+ Core.Base#BASE + Object +

+
+
+ +

The object itself.

+ +
+
+

Return value:

+
+ +
+ +

The added BASE Object.

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

Adds a Core.Base#BASE object in the Core.Set#SET_BASE, using the Object Name as the index.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Wrapper.Object#OBJECT + Object +

+
+
+

+
+
+

Return value:

+
+ +
+ +

The added BASE Object.

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

Add a SET to this set.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Set#SET_BASE + SetToAdd +

+
+
+ +

Set to add.

+ +
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Clear the Objects in the Set.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Compare two sets.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Core.Set#SET_BASE + SetA +

+
+
+ +

First set.

+ +
+
+
+
+

+ Core.Set#SET_BASE + SetB +

+
+
+ +

Set to be merged into first set.

+ +
+
+

Return value:

+
+ +
+ +

The set of objects that are included in SetA and SetB.

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

Retrieves the amount of objects in the Core.Set#SET_BASE and derived classes.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#number:

+
+
+ +

Count

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

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Starts the filtering of the Crash events for the collection.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Starts the filtering of the Dead events for the collection.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Filters for the defined collection.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Stops the filtering for the defined collection.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Iterate the SET_BASE while identifying the nearest object from a Core.Point#POINT_VEC2.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Point#POINT_VEC2 + PointVec2 +

+
+
+ +

A Core.Point#POINT_VEC2 object from where to evaluate the closest object in the set.

+ +
+
+

Return value:

+
+ +
+ +

The closest object.

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

Flushes the current SET_BASE contents in the log ...

+ + +

(for debugging reasons).

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Base#BASE + MasterObject +

+
+
+ +

(Optional) The master object as a reference.

+ +
+
+

Return value:

+
+
+

#string:

+
+
+ +

A string with the names of the objects.

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

Iterate the SET_BASE and derived classes and call an iterator function for the given SET_BASE, providing the Object for each element within the set and optional parameters.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #function + IteratorFunction +

+
+
+ +

The function that will be called.

+ +
+
+
+
+

+ #table + arg +

+
+
+ +

Arguments of the IteratorFunction.

+ +
+
+
+
+

+ #SET_BASE + Set +

+
+
+ +

(Optional) The set to use. Default self:GetSet().

+ +
+
+
+
+

+ #function + Function +

+
+
+ +

(Optional) A function returning a #boolean true/false. Only if true, the IteratorFunction is called.

+ +
+
+
+
+

+ #table + FunctionArguments +

+
+
+ +

(Optional) Function arguments.

+ +
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Iterate the SET_BASE and derived classes and call an iterator function for the given SET_BASE, providing the Object for each element within the set and optional parameters.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #function + IteratorFunction +

+
+
+ +

The function that will be called.

+ +
+
+
+
+

+ arg +

+
+
+

+
+
+
+
+

+ Set +

+
+
+

+
+
+
+
+

+ Function +

+
+
+

+
+
+
+
+

+ FunctionArguments +

+
+
+

+
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Gets a Core.Base#BASE object from the Core.Set#SET_BASE and derived classes, based on the Object Name.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #string + ObjectName +

+
+
+

+
+
+

Return value:

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

Gets the first object from the Core.Set#SET_BASE and derived classes.

+ +
+
+

Defined in:

+ +

Return value:

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

Gets the last object from the Core.Set#SET_BASE and derived classes.

+ +
+
+

Defined in:

+ +

Return value:

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

Gets a string with all the object names.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

A string with the names of the objects.

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

Gets a random object from the Core.Set#SET_BASE and derived classes.

+ +
+
+

Defined in:

+ +

Return value:

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

Gets the Set.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Get the complement of two sets.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Set#SET_BASE + SetB +

+
+
+ +

Set other set, called B .

+ +
+
+

Return value:

+
+ +
+ +

The set of objects that are in set B but not in this set A .

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

Get the intersection of this set, called A , and another set.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Set#SET_BASE + SetB +

+
+
+ +

Set other set, called B .

+ +
+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

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

Gets a list of the Names of the Objects in the Set.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#table:

+
+
+ +

Table of names.

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

Returns a table of the Objects in the Set.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#table:

+
+
+ +

Table of objects.

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

Get the union of two sets.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Set#SET_BASE + SetB +

+
+
+ +

Set B .

+ +
+
+

Return value:

+
+ +
+ +

The union set, i.e. contains objects that are in set A or in set B .

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

Get the SET iterator "limit".

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#number:

+
+
+ +

Defines how many objects are evaluated of the set as part of the Some iterators.

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

Decides whether an object is in the SET

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #table + Object +

+
+
+

+
+
+

Return value:

+
+
+

#boolean:

+
+
+ +

true if object is in set and false otherwise.

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

Decides whether to include the Object.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #table + Object +

+
+
+

+
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Decides whether an object is not in the SET

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #table + Object +

+
+
+

+
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Creates a new SET_BASE object, building a set of units belonging to a coalitions, categories, countries, types or with defined prefix names.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Database +

+
+
+

+
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ + + +
+
+

Usage:

+
-- Define a new SET_BASE Object. This DBObject will contain a reference to all Group and Unit Templates defined within the ME and the DCSRTE.
+DBObject = SET_BASE:New()
+ +
+ +
+
+ +
+ + + +

Added Handler OnAfter for SET_BASE

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + From +

+
+
+

+
+
+
+
+

+ #string + Event +

+
+
+

+
+
+
+
+

+ #string + To +

+
+
+

+
+
+
+
+

+ #string + ObjectName +

+
+
+ +

The name of the object.

+ +
+
+
+
+

+ Object +

+
+
+ +

The object.

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

Removed Handler OnAfter for SET_BASE

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + From +

+
+
+

+
+
+
+
+

+ #string + Event +

+
+
+

+
+
+
+
+

+ #string + To +

+
+
+

+
+
+
+
+

+ #string + ObjectName +

+
+
+ +

The name of the object.

+ +
+
+
+
+

+ Object +

+
+
+ +

The object.

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

Removes a Core.Base#BASE object from the Core.Set#SET_BASE and derived classes, based on the Object Name.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + ObjectName +

+
+
+

+
+
+
+
+

+ #boolean + NoTriggerEvent +

+
+
+ +

(Optional) When true, the :Remove() method will not trigger a Removed event.

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

Copies the Filter criteria from a given Set (for rebuilding a new Set based on an existing Set).

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #SET_BASE + BaseSet +

+
+
+

+
+
+

Return value:

+
+
+

#SET_BASE:

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

Define the SET iterator "yield interval" and the "time interval".

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #number + YieldInterval +

+
+
+ +

Sets the frequency when the iterator loop will yield after the number of objects processed. The default frequency is 10 objects processed.

+ +
+
+
+
+

+ #number + TimeInterval +

+
+
+ +

Sets the time in seconds when the main logic will resume the iterator loop. The default time is 0.001 seconds.

+ +
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Define the SET iterator "limit".

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + Limit +

+
+
+ +

Defines how many objects are evaluated of the set as part of the Some iterators. The default is 1.

+ +
+
+

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Sort the set by name.

+ +
+
+

Defined in:

+ +

Return value:

+
+ +
+ +

The added BASE Object.

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

Handles the OnBirth event for the Set.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + Event +

+
+
+

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

Handles the OnDead or OnCrash event for alive units set.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + Event +

+
+
+

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

Starts the filtering for the defined collection.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

Finds an Core.Base#BASE object based on the object Name.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #string + ObjectName +

+
+
+

+
+
+

Return value:

+
+ +
+ +

The Object found.

+ +
+
+
+ +
+
+ +
+

Field(s)

+
+
+

Function(s)

+
+
+ + + +

Clear the state of an object.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

The object that holds the Value set by the Key.

+ +
+
+
+
+

+ StateName +

+
+
+ +

The key that is should be cleared.

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

Creation of a Birth Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

+ +
+
+
+
+

+ #string + IniUnitName +

+
+
+ +

The initiating unit name.

+ +
+
+
+
+

+ place +

+
+
+

+
+
+
+
+

+ subplace +

+
+
+

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

Creation of a Crash Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

+ +
+
+
+
+

+ IniObjectCategory +

+
+
+

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

Creation of a Dead Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

+ +
+
+
+
+

+ IniObjectCategory +

+
+
+

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

Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Wrapper.Unit#UNIT + PlayerUnit +

+
+
+ +

The aircraft unit the player entered.

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

Creation of a Remove Unit Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Creation of a Takeoff Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Creation of a Crash Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ DCS#Time + EventTime +

+
+
+ +

The time stamp of the event.

+ +
+
+
+
+

+ DCS#Object + Initiator +

+
+
+ +

The initiating object of the event.

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

Log an exception which will be traced always.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Returns the event dispatcher

+ +
+
+

Defined in:

+ +

Return value:

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

Remove all subscribed events

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#BASE:

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

Trace a function call.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function call level 2.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function call level 3.

+ + +

Must be at the beginning of the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Get the ClassID of the class instance.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassID of the class instance.

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

Get the ClassName of the class instance.

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassName of the class instance.

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

Get the ClassName + ClassID of the class instance.

+ + +

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

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#string:

+
+
+ +

The ClassName + ClassID of the class instance.

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

Get the Class Core.Event processing Priority.

+ + +

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

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#number:

+
+
+ +

The Core.Event processing Priority.

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

This is the worker method to retrieve the Parent class.

+ + +

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

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

Defined in:

+ +

Parameters:

+
+
+

+ #BASE + Child +

+
+
+ +

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

+ +
+
+
+
+

+ #BASE + FromClass +

+
+
+ +

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

+ +
+
+

Return value:

+
+
+

#BASE:

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

Get a Value given a Key from the Object.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

The object that holds the Value set by the Key.

+ +
+
+
+
+

+ Key +

+
+
+ +

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

+ +
+
+

Return value:

+
+
+
+
+ +

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

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

Subscribe to a DCS Event.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Core.Event#EVENTS + EventID +

+
+
+ +

Event ID.

+ +
+
+
+
+

+ #function + EventFunction +

+
+
+ +

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

+ +
+
+

Return value:

+
+
+

#BASE:

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

Log an information which will be traced always.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

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

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Child +

+
+
+ +

is the Child class that inherits.

+ +
+
+
+
+

+ #BASE + Parent +

+
+
+ +

is the Parent class that the Child inherits from.

+ +
+
+

Return value:

+
+
+

#BASE:

+
+
+ +

Child

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

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

+ + + +

Examples:

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

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

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

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

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

  • +
+ + +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ ClassName +

+
+
+ +

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

+ +
+
+

Return value:

+
+
+

#boolean:

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

Enquires if tracing is on (for the class).

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#boolean:

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

BASE constructor.

+ + + +

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

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

Defined in:

+ +

Return value:

+
+
+

#BASE:

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

Occurs when an Event for an object is triggered.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

BDA.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that captured the base +place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any object is spawned into the mission.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that was spawned

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an object is dead.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is dead.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Will update this page when new information become available.

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

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Discard chair after ejection.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

initiator : The unit that has ejected

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any aircraft shuts down its engines.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is stopping its engines.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any aircraft starts its engines.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is starting its engines.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs whenever an object is hit by a weapon.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit object the fired the weapon +weapon: Weapon object that hit the target +target: The Object that was hit.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any system fails on a human controlled aircraft.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that had the failure

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs on the death of a unit.

+ + +

Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs. +Have a look at the class Core.Event#EVENT as these are just the prototypes.

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

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Event does not occur if the pilot lands in the water and sub combs to Davey Jones Locker. +Have a look at the class Core.Event#EVENT as these are just the prototypes.

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

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Landing quality mark.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a new mark was added.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mark text was changed.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when a mark was removed.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Weapon add.

+ + +

Fires when entering a mission per pylon with the name of the weapon (double pylons not counted, infinite wep reload not counted. +Have a look at the class Core.Event#EVENT as these are just the prototypes.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when the pilot of an aircraft is killed.

+ + +

Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane. +Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that the pilot has died in.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +NOTE: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event. +initiator : The unit that is being taken control of.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any player assumes direct control of a unit.

+ + +

Note - not Mulitplayer safe. Use PlayerEnterAircraft. +Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is being taken control of.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that the player left.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is receiving fuel.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when an aircraft is finished taking fuel.

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that was receiving fuel.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

There is no information on what values the score was changed to. Event is likely similar to player_comment in this regard. +Have a look at the class Core.Event#EVENT as these are just the prototypes.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when any unit stops firing its weapon.

+ + +

Event will always correspond with a shooting start event. +Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that was doing the shooting.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Most common with aircraft cannons (GAU-8), autocannons, and machine guns. +Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that is doing the shooting. +target: The unit that is being targeted.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs whenever any unit in a mission fires a weapon.

+ + +

But not any machine gun or autocannon based weapon, those are handled by EVENT.ShootingStart. +Have a look at the class Core.Event#EVENT as these are just the prototypes.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

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

+ + +

Have a look at the class Core.Event#EVENT as these are just the prototypes. +initiator : The unit that tookoff +place: Object from where the AI took-off from. Can be an Airbase Object, FARP, or Ships

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Trigger zone.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Occurs when the game thinks an object is destroyed.

+ + +

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

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

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTDATA + EventData +

+
+
+ +

The EventData structure.

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

Schedule a new time event.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #number + Start +

+
+
+ +

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

+ +
+
+
+
+

+ #function + SchedulerFunction +

+
+
+ +

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

+ +
+
+
+
+

+ #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.

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

Schedule a new time event.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #number + Start +

+
+
+ +

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

+ +
+
+
+
+

+ #number + Repeat +

+
+
+ +

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

+ +
+
+
+
+

+ #number + RandomizeFactor +

+
+
+ +

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

+ +
+
+
+
+

+ #number + Stop +

+
+
+ +

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

+ +
+
+
+
+

+ #function + SchedulerFunction +

+
+
+ +

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

+ +
+
+
+
+

+ #table + ... +

+
+
+ +

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

+ +
+
+

Return value:

+
+
+

#string:

+
+
+ +

The Schedule ID of the planned schedule.

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

Stops the Schedule.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #string + SchedulerID +

+
+
+ +

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

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

Set the Class Core.Event processing Priority.

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + EventPriority +

+
+
+ +

The Core.Event processing Priority.

+ +
+
+

Return value:

+
+
+

#BASE:

+
+
+ +

self

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

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

+ + +

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

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Object +

+
+
+ +

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

+ +
+
+
+
+

+ Key +

+
+
+ +

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

+ +
+
+
+
+

+ Value +

+
+
+ +

The value to is stored in the object.

+ +
+
+

Return value:

+
+
+
+
+ +

The Value set.

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

Trace a function logic level 1.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function logic level 2.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace a function logic level 3.

+ + +

Can be anywhere within the function logic.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

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

Trace all methods in MOOSE

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #boolean + TraceAll +

+
+
+ +

true = trace all methods in MOOSE.

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

Set tracing for a class

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #string + Class +

+
+
+ +

Class name.

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

Set tracing for a specific method of class

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ #string + Class +

+
+
+ +

Class name.

+ +
+
+
+
+

+ #string + Method +

+
+
+ +

Method.

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

Set trace level

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #number + Level +

+
+
+

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

Set trace off.

+ +
+
+

Defined in:

+ +

Usage:

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

Set trace on.

+ +
+
+

Defined in:

+ +

Usage:

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

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

+ + +

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

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ #boolean + TraceOnOff +

+
+
+ +

Switch the tracing on or off.

+ +
+
+

Usage:

+

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

UnSubscribe to a DCS event.

+ +
+
+

Defined in:

+ +

Parameter:

+
+
+

+ Core.Event#EVENTS + EventID +

+
+
+ +

Event ID.

+ +
+
+

Return value:

+
+
+

#BASE:

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

Trace a function call.

+ + +

This function is private.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

+ +
+
+
+
+

+ DebugInfoCurrentParam +

+
+
+

+
+
+
+
+

+ DebugInfoFromParam +

+
+
+

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

Trace a function logic.

+ +
+
+

Defined in:

+ +

Parameters:

+
+
+

+ Arguments +

+
+
+ +

A #table or any field.

+ +
+
+
+
+

+ DebugInfoCurrentParam +

+
+
+

+
+
+
+
+

+ DebugInfoFromParam +

+
+
+

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

The main event handling function...

+ +

This function captures all events generated for the class.

@@ -52265,7 +60027,7 @@ DBObject = SET_PLAYER:New()

Clear the Objects in the Set.

@@ -52276,6 +60038,20 @@ DBObject = SET_PLAYER:New() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -52376,6 +60152,39 @@ DBObject = SET_PLAYER:New()
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -53012,7 +60821,7 @@ DBObject = SET_PLAYER:New()

SET_PLAYER:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -53024,13 +60833,27 @@ DBObject = SET_PLAYER:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -53053,11 +60876,11 @@ DBObject = SET_PLAYER:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -53083,11 +60906,11 @@ DBObject = SET_PLAYER:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -53199,11 +61022,11 @@ DBObject = SET_PLAYER:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -53526,6 +61349,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

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

Clear the Objects in the Set.

@@ -57932,6 +65756,20 @@ When moose is loading dynamically (for moose class development), tracing is swit +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -58032,6 +65870,39 @@ When moose is loading dynamically (for moose class development), tracing is swit
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

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

SET_SCENERY:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -58680,13 +66551,27 @@ When moose is loading dynamically (for moose class development), tracing is swit
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -58709,11 +66594,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -58739,11 +66624,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -58855,11 +66740,11 @@ When moose is loading dynamically (for moose class development), tracing is swit

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -59182,6 +67067,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -64308,7 +72194,7 @@ DBObject = SET_STATIC:New()

Clear the Objects in the Set.

@@ -64319,6 +72205,20 @@ DBObject = SET_STATIC:New() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -64419,6 +72319,39 @@ DBObject = SET_STATIC:New()
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -65055,7 +72988,7 @@ DBObject = SET_STATIC:New()

SET_STATIC:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -65067,13 +73000,27 @@ DBObject = SET_STATIC:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -65096,11 +73043,11 @@ DBObject = SET_STATIC:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -65126,11 +73073,11 @@ DBObject = SET_STATIC:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -65242,11 +73189,11 @@ DBObject = SET_STATIC:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -65569,6 +73516,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -71158,7 +79106,7 @@ MySetUnit:SetCargoBayWeightLimit()

Clear the Objects in the Set.

@@ -71169,6 +79117,20 @@ MySetUnit:SetCargoBayWeightLimit() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -71269,6 +79231,39 @@ MySetUnit:SetCargoBayWeightLimit()
+
+
+ +
+ + + +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -71905,7 +79900,7 @@ MySetUnit:SetCargoBayWeightLimit()

SET_UNIT:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -71917,13 +79912,27 @@ MySetUnit:SetCargoBayWeightLimit()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -71946,11 +79955,11 @@ MySetUnit:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -71976,11 +79985,11 @@ MySetUnit:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -72092,11 +80101,11 @@ MySetUnit:SetCargoBayWeightLimit()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -72419,6 +80428,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -76619,6 +84629,58 @@ When moose is loading dynamically (for moose class development), tracing is swit
+ + + +
+ +
+

SET_ZONE:GetClosestZone(Coordinate)

+
+ +

Get the closest zone to a given coordinate.

+ +
+
+

Defined in:

+
+

SET_ZONE

+
+

Parameter:

+
+
+

+ Core.Point#COORDINATE + Coordinate +

+
+
+ +

The reference coordinate from which the closest zone is determined.

+ +
+
+

Return values:

+
+ +
+ +

The closest zone (if any).

+ +
+
+

#number:

+
+
+ +

Distance to ref coordinate in meters.

+ +
+
+
+
@@ -76706,24 +84768,16 @@ If zones overlap, the first zone that validates the test is returned.

-

Return values:

+

Return value:

-
-

Core.Zone#ZONE_BASE:

-
-
- -

The zone that validates the coordinate location.

+ +
+ +

The zone (if any) that validates the coordinate location.

-
-
-

#nil:

-
-
- -

No zone has been found.

- -
+
@@ -77106,7 +85160,7 @@ DatabaseSet = SET_ZONE:New()
-

SET_ZONE:Clear()

+

SET_ZONE:Clear(TriggerEvent)

Clear the Objects in the Set.

@@ -77117,6 +85171,20 @@ DatabaseSet = SET_ZONE:New()

Core.Set#SET_BASE

+

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -77217,6 +85285,39 @@ DatabaseSet = SET_ZONE:New()
+
+ + +
+ +
+

SET_ZONE:FilterClear()

+
+ +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -77853,7 +85954,7 @@ DatabaseSet = SET_ZONE:New()

SET_ZONE:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -77865,13 +85966,27 @@ DatabaseSet = SET_ZONE:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -77894,11 +86009,11 @@ DatabaseSet = SET_ZONE:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -77924,11 +86039,11 @@ DatabaseSet = SET_ZONE:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -78040,11 +86155,11 @@ DatabaseSet = SET_ZONE:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -78367,6 +86482,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

@@ -82875,7 +90991,7 @@ DatabaseSet = SET_ZONE_GOAL:New()

Clear the Objects in the Set.

@@ -82886,6 +91002,20 @@ DatabaseSet = SET_ZONE_GOAL:New() +

Parameter:

+
+
+

+ #boolean + TriggerEvent +

+
+
+ +

If true, an event remove is triggered for each group that is removed from the set.

+ +
+

Return value:

@@ -82986,6 +91116,39 @@ DatabaseSet = SET_ZONE_GOAL:New()
+
+
+ +
+ +
+

SET_ZONE_GOAL:FilterClear()

+
+ +

Clear all filters.

+ + +

You still need to apply :FilterOnce()

+ +
+
+

Defined in:

+ +

Return value:

+
+
+

#SET_BASE:

+
+
+ +

self

+ +
+
+
+
@@ -83622,7 +91785,7 @@ DatabaseSet = SET_ZONE_GOAL:New()

SET_ZONE_GOAL:GetSetIntersection(SetB)

- +

Get the intersection of this set, called A , and another set.

@@ -83634,13 +91797,27 @@ DatabaseSet = SET_ZONE_GOAL:New()
-

+ +

Set other set, called B .

+
+

Return value:

+
+ +
+ +

A set of objects that is included in set A and in set B .

+ +
+
@@ -83663,11 +91840,11 @@ DatabaseSet = SET_ZONE_GOAL:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of names.

@@ -83693,11 +91870,11 @@ DatabaseSet = SET_ZONE_GOAL:New()

Return value:

-

#SET_BASE:

+

#table:

-

self

+

Table of objects.

@@ -83809,11 +91986,11 @@ DatabaseSet = SET_ZONE_GOAL:New()

Return value:

-

#SET_BASE:

+

#boolean:

-

self

+

true if object is in set and false otherwise.

@@ -84136,6 +92313,7 @@ DBObject = SET_BASE:New()

+ #boolean NoTriggerEvent

diff --git a/Documentation/Core.Settings.html b/Documentation/Core.Settings.html index 4e758cb51..68b903b53 100644 --- a/Documentation/Core.Settings.html +++ b/Documentation/Core.Settings.html @@ -2817,7 +2817,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #string SETTINGS.A2ASystem @@ -2828,7 +2828,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string + SETTINGS.A2GSystem @@ -2872,7 +2872,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + SETTINGS.Metric @@ -4974,7 +4974,7 @@ It is advised to use this method at the start of the mission.

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

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

- #boolean + SETTINGS.Metric diff --git a/Documentation/Core.Spawn.html b/Documentation/Core.Spawn.html index ec4d31ffd..b996a8f8d 100644 --- a/Documentation/Core.Spawn.html +++ b/Documentation/Core.Spawn.html @@ -2815,25 +2815,7 @@ and any spaces before and after the resulting name are removed.

-

SPAWN.communication

- - - - - -

SPAWN.frequency

- - - - - -

SPAWN.livery_id

- - - - - -

SPAWN.skill

+

SPAWN.uncontrolled

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

The AI is on by default when spawning a group.

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

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

+
@@ -3549,17 +3548,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - -SPAWN.SpawnGrouping - - -
@@ -3640,17 +3628,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - -SPAWN.SpawnInitFreq - - -
@@ -3706,6 +3683,20 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + #boolean +SPAWN.SpawnInitKeepUnitNames + + + + +

Overwrite unit names by default with group name.

+
@@ -3717,38 +3708,8 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
- - -
-
-
- - -SPAWN.SpawnInitModex - - - -
- -
-
-
- - -SPAWN.SpawnInitModu - - +

By default, no InitLimit

@@ -3792,7 +3753,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number SPAWN.SpawnMaxGroups @@ -3806,7 +3767,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #number SPAWN.SpawnMaxUnitsAlive @@ -3964,7 +3925,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -

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

+

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

@@ -4023,40 +3984,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
-
-
- - -SPAWN.frequency - - - -
- -
-
-
- - -SPAWN.livery_id - - - -
- -
-
-
- - -SPAWN.skill +SPAWN.uncontrolled @@ -8798,11 +8726,14 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- + #boolean SPAWN.AIOnOff + +

The AI is on by default when spawning a group.

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

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

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

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

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

- -
-
-
- - -SPAWN.SpawnInitFreq - - -
@@ -9109,6 +9032,20 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

+ +
+
+
+ + #boolean +SPAWN.SpawnInitKeepUnitNames + + + + +

Overwrite unit names by default with group name.

+
@@ -9120,38 +9057,8 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

- -
-
- - -
-
-
- - -SPAWN.SpawnInitModex - - - -
- -
-
-
- - -SPAWN.SpawnInitModu - - +

By default, no InitLimit

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

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

- + #number SPAWN.SpawnMaxUnitsAlive @@ -9367,7 +9274,7 @@ This is needed to ensure that Re-SPAWNing only is done for landed AIR Groups.

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

+

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

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

-SPAWN.communication - - - -
- -
-
-
- - -SPAWN.frequency - - - -
- -
-
-
- - -SPAWN.livery_id - - - -
- -
-
-
- - -SPAWN.skill +SPAWN.uncontrolled diff --git a/Documentation/Core.SpawnStatic.html b/Documentation/Core.SpawnStatic.html index 9c827547b..4fb16a0b2 100644 --- a/Documentation/Core.SpawnStatic.html +++ b/Documentation/Core.SpawnStatic.html @@ -1960,6 +1960,24 @@ such as position and heading.

SPAWNSTATIC:_SpawnStatic(Template, CountryID)

Spawns a new static using a given template.

+ + + +

SPAWNSTATIC.heliport_callsign_id

+ + + + + +

SPAWNSTATIC.heliport_frequency

+ + + + + +

SPAWNSTATIC.heliport_modulation

+ + @@ -2874,6 +2892,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+ + +
+
+ + +
+
+
@@ -4227,6 +4278,39 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + +SPAWNSTATIC.heliport_callsign_id + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_frequency + + + +
+ +
+
+
+ + +SPAWNSTATIC.heliport_modulation + + +
diff --git a/Documentation/Core.Spot.html b/Documentation/Core.Spot.html index 0378882be..86ec2988c 100644 --- a/Documentation/Core.Spot.html +++ b/Documentation/Core.Spot.html @@ -2766,50 +2766,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -4071,50 +4027,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
@@ -5615,50 +5527,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -SPOT.ScheduleID - - - -
- -
-
-
- - -SPOT.SpotIR - - - -
- -
-
-
- - -SPOT.SpotLaser - - - -
- -
-
-
- - -SPOT.Target - - -
diff --git a/Documentation/Core.Zone.html b/Documentation/Core.Zone.html index 1c385c505..bf93bdd0f 100644 --- a/Documentation/Core.Zone.html +++ b/Documentation/Core.Zone.html @@ -3601,6 +3601,12 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

ZONE_POLYGON_BASE:GetBoundingSquare()

Get the bounding square the zone.

+ + + +

ZONE_POLYGON_BASE:GetBoundingVec2()

+ +

Get the bounding 2D vectors of the polygon.

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

ZONE_POLYGON_BASE:GetVerticiesVec3()

Get a list of verticies of the polygon.

+ + + +

ZONE_POLYGON_BASE:GetZoneQuad(ZoneName, DoNotRegisterZone)

+ +

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

+ + + +

ZONE_POLYGON_BASE:GetZoneRadius(ZoneName, DoNotRegisterZone)

+ +

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

@@ -13349,6 +13367,44 @@ Note that only after a zone has been scanned, the zone can be e + + + +
+ +
+

ZONE_POLYGON_BASE:GetBoundingVec2()

+
+ +

Get the bounding 2D vectors of the polygon.

+ +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Return values:

+
+
+

DCS#Vec2:

+
+
+ +

Coordinates of western-southern-lower vertex of the box.

+ +
+
+

DCS#Vec2:

+
+
+ +

Coordinates of eastern-northern-upper vertex of the box.

+ +
+
+
+
@@ -13718,6 +13774,120 @@ Note that only after a zone has been scanned, the zone can be e + + + +
+ +
+

ZONE_POLYGON_BASE:GetZoneQuad(ZoneName, DoNotRegisterZone)

+
+ +

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

+ +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Parameters:

+
+
+

+ #string + ZoneName +

+
+
+ +

(Optional) Name of the zone. Default is the name of the polygon zone.

+ +
+
+
+
+

+ #boolean + DoNotRegisterZone +

+
+
+ +

(Optional) If true, zone is not registered.

+ +
+
+

Return value:

+
+ +
+ +

The rectangular zone.

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

ZONE_POLYGON_BASE:GetZoneRadius(ZoneName, DoNotRegisterZone)

+
+ +

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

+ +
+
+

Defined in:

+
+

ZONE_POLYGON_BASE

+
+

Parameters:

+
+
+

+ #string + ZoneName +

+
+
+ +

(Optional) Name of the zone. Default is the name of the polygon zone.

+ +
+
+
+
+

+ #boolean + DoNotRegisterZone +

+
+
+ +

(Optional) If true, zone is not registered.

+ +
+
+

Return value:

+
+ +
+ +

The circular zone.

+ +
+
+
+
diff --git a/Documentation/Functional.ATC_Ground.html b/Documentation/Functional.ATC_Ground.html index 07d49561c..aeb826fb6 100644 --- a/Documentation/Functional.ATC_Ground.html +++ b/Documentation/Functional.ATC_Ground.html @@ -3848,9 +3848,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -

Kickspeed

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

- -

Kickspeed

- diff --git a/Documentation/Functional.Designate.html b/Documentation/Functional.Designate.html index 39919cb89..baf8151fc 100644 --- a/Documentation/Functional.Designate.html +++ b/Documentation/Functional.Designate.html @@ -3507,17 +3507,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -
-
- - -DESIGNATE.LaseDuration - - -
@@ -6682,17 +6671,6 @@ Using the menu system, the player can "forget" a designation, so that gradually - - - -
-
- - -DESIGNATE.LaseDuration - - -
@@ -7492,17 +7470,6 @@ Using the menu system, the player can "forget" a designation, so that gradually - - - -
-
- - -DESIGNATE.LaseDuration - - -
@@ -8272,17 +8239,6 @@ Using the menu system, the player can "forget" a designation, so that gradually - - - -
-
- - -DESIGNATE.LaseDuration - - -
@@ -9940,17 +9896,6 @@ Using the menu system, the player can "forget" a designation, so that gradually - - - -
-
- - -DESIGNATE.LaseDuration - - -
diff --git a/Documentation/Functional.Detection.html b/Documentation/Functional.Detection.html index e07c23158..5c558e90f 100644 --- a/Documentation/Functional.Detection.html +++ b/Documentation/Functional.Detection.html @@ -19244,6 +19244,17 @@ When moose is loading dynamically (for moose class development), tracing is swit + + + +
+
+ + #boolean +DETECTION_BASE.Locking + + +
@@ -23925,6 +23936,17 @@ zones that reflect cloudy areas where detected units may not be so easily visual + + + +
+
+ + #boolean +DETECTION_BASE.Locking + + +
@@ -25667,6 +25689,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 d926100d5..72f3ceb2e 100644 --- a/Documentation/Functional.Mantis.html +++ b/Documentation/Functional.Mantis.html @@ -3699,17 +3699,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

The #DETECTION_AREAS object for AWACS

- - - -
-
- - -MANTIS.AWACS_Prefix - - -
@@ -4244,6 +4233,50 @@ 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 + + +
@@ -8169,17 +8202,6 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

The #DETECTION_AREAS object for AWACS

- - - -
-
- - -MANTIS.AWACS_Prefix - - -
@@ -8714,6 +8736,50 @@ E.g. `mymantis:SetAdvancedMode(true, 90)`

Prefix for logging

+ + + +
+
+ + #number +MANTIS.maxclassic + + + +
+ +
+
+
+ + #number +MANTIS.maxlongrange + + + +
+ +
+
+
+ + #number +MANTIS.maxmidrange + + + +
+ +
+
+
+ + #number +MANTIS.maxshortrange + + +
diff --git a/Documentation/Functional.RAT.html b/Documentation/Functional.RAT.html index 169af25f8..6d11a23ce 100644 --- a/Documentation/Functional.RAT.html +++ b/Documentation/Functional.RAT.html @@ -3435,6 +3435,12 @@ manager:Stop(7200)

RAT.termtype

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

+ + + +

RAT.type

+ + @@ -4405,25 +4411,7 @@ and any spaces before and after the resulting name are removed.

-

RAT.communication

- - - - - -

RAT.frequency

- - - - - -

RAT.livery_id

- - - - - -

RAT.skill

+

RAT.uncontrolled

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

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

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

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

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

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

+ + + +
+
+ + +RAT.type + + +
diff --git a/Documentation/Functional.Scoring.html b/Documentation/Functional.Scoring.html index e192ac5a8..108de65b3 100644 --- a/Documentation/Functional.Scoring.html +++ b/Documentation/Functional.Scoring.html @@ -3083,7 +3083,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.penaltyoncoalitionchange @@ -3094,7 +3094,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #boolean SCORING.penaltyonfratricide @@ -5672,7 +5672,7 @@ The scale magnifies the scores given to the players.

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

- + #boolean SCORING.penaltyonfratricide diff --git a/Documentation/Functional.Warehouse.html b/Documentation/Functional.Warehouse.html index 995ea45db..2631535e2 100644 --- a/Documentation/Functional.Warehouse.html +++ b/Documentation/Functional.Warehouse.html @@ -1870,8 +1870,8 @@ put into the warehouse queue and processed as soon as possible.

Initial Spawn states is as follows: GROUND: ROE, "Return Fire" Alarm, "Green" - AIR: ROE, "Return Fire" Reaction to Threat, "Passive Defense" - NAVAL ROE, "Return Fire" Alarm,"N/A"

+ AIR: ROE, "Return Fire" Reaction to Threat, "Passive Defense" + NAVAL ROE, "Return Fire" Alarm,"N/A"

A request can be added by the WAREHOUSE.AddRequest(warehouse, AssetDescriptor, AssetDescriptorValue, nAsset, TransportType, nTransport, Prio, Assignment) function. The parameters are

@@ -3462,6 +3462,12 @@ end

WAREHOUSE:GetVec3()

Get 3D vector of warehouse static.

+ + + +

WAREHOUSE:GetWarehouseZone()

+ +

Get the warehouse zone.

@@ -9081,6 +9087,36 @@ Optionally, only warehouses with (specific) assets can be included in the search
+
+
+ +
+ + + +

Get the warehouse zone.

+ +
+
+

Defined in:

+
+

WAREHOUSE

+
+

Return value:

+
+ +
+ +

The warehouse zone.

+ +
+
+
+
diff --git a/Documentation/Ops.Airboss.html b/Documentation/Ops.Airboss.html index 28d7b26ea..d211beb48 100644 --- a/Documentation/Ops.Airboss.html +++ b/Documentation/Ops.Airboss.html @@ -39579,7 +39579,7 @@ When moose is loading dynamically (for moose class development), tracing is swit -

Set case to that of lead.

+

Set case of f

@@ -39643,20 +39643,6 @@ When moose is loading dynamically (for moose class development), tracing is swit
-AIRBOSS.PlayerData.flag - - - - -

Set stack flag.

- -
- -
-
-
- - AIRBOSS.PlayerData.grade diff --git a/Documentation/Ops.CSAR.html b/Documentation/Ops.CSAR.html index feb5d6717..aa4bba0d3 100644 --- a/Documentation/Ops.CSAR.html +++ b/Documentation/Ops.CSAR.html @@ -2483,12 +2483,6 @@ Create a late-activated single infantry unit as template in the mission editor a

CSAR.inTransitGroups

- - - -

CSAR.index

- - @@ -3831,7 +3825,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.FreeVHFFrequencies @@ -4244,11 +4238,14 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CSAR.csarUnits + +

table of CSAR unit names

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

Replacement woundedGroups

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

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

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

counter for saved pilots

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

counter for successful rescue landings at FARP/AFB/MASH

+ +
+
@@ -9158,7 +9186,7 @@ callsigns from playername or group name.

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

- + #table CSAR.csarUnits + +

table of CSAR unit names

+
@@ -9596,11 +9627,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

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

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

-
- -
-
-
- - -CSAR.index - - -
@@ -9918,6 +9952,20 @@ callsigns from playername or group name.

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

counter for saved pilots

+ +
+
@@ -9943,6 +9991,20 @@ callsigns from playername or group name.

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

counter for successful rescue landings at FARP/AFB/MASH

+ +
+
@@ -11586,7 +11648,7 @@ callsigns from playername or group name.

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

- + #table CSAR.csarUnits + +

table of CSAR unit names

+
@@ -12024,11 +12089,25 @@ callsigns from playername or group name.

- + #table CSAR.downedPilots + +

Replacement woundedGroups

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

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

-
- -
-
-
- - -CSAR.index - - -
@@ -12346,6 +12414,20 @@ callsigns from playername or group name.

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

counter for saved pilots

+ +
+
@@ -12371,6 +12453,20 @@ callsigns from playername or group name.

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

counter for successful rescue landings at FARP/AFB/MASH

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

Name of the class.

+
+ +
+
+
+ + #number +CTLD.CrateCounter + + +
@@ -7290,7 +7301,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CTLD.CtldUnits @@ -7312,7 +7323,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- + #table CTLD.DroppedTroops @@ -7337,11 +7348,28 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
+ #number +CTLD.Engineers + + + +

use as counter

+ +
+ +
+
+
+ + #table CTLD.EngineersInField + +

holds #CTLD_ENGINEERING objects

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

Beacons

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

tables

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

Folderpath.

-
@@ -7649,6 +7680,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ +
+
+
+ + #number +CTLD.TroopCounter + + +
@@ -7815,6 +7857,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

#1570

+
+ +
+
+
+ + #table +CTLD.droppedBeacons + + +
@@ -16174,6 +16227,17 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

+ + + +
+
+ + #number +CTLD.CrateCounter + + +
@@ -16205,7 +16269,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.CtldUnits @@ -16227,7 +16291,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.DroppedTroops @@ -16252,11 +16316,28 @@ However, if you create a new folder inside the miz file, which contains the soun
+ #number +CTLD.Engineers + + + +

use as counter

+ +
+ +
+
+
+ + #table CTLD.EngineersInField + +

holds #CTLD_ENGINEERING objects

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

Beacons

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

tables

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

Folderpath.

-
@@ -16564,6 +16648,17 @@ However, if you create a new folder inside the miz file, which contains the soun +
+ +
+
+
+ + #number +CTLD.TroopCounter + + +
@@ -16730,6 +16825,17 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

+ + + +
+
+ + #table +CTLD.droppedBeacons + + +
@@ -18604,6 +18710,17 @@ However, if you create a new folder inside the miz file, which contains the soun

Name of the class.

+ + + +
+
+ + #number +CTLD.CrateCounter + + +
@@ -18635,7 +18752,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.CtldUnits @@ -18657,7 +18774,7 @@ However, if you create a new folder inside the miz file, which contains the soun
- + #table CTLD.DroppedTroops @@ -18682,11 +18799,28 @@ However, if you create a new folder inside the miz file, which contains the soun
+ #number +CTLD.Engineers + + + +

use as counter

+ +
+ +
+
+
+ + #table CTLD.EngineersInField + +

holds #CTLD_ENGINEERING objects

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

Beacons

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

tables

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

Folderpath.

-
@@ -18994,6 +19131,17 @@ However, if you create a new folder inside the miz file, which contains the soun +
+ +
+
+
+ + #number +CTLD.TroopCounter + + +
@@ -19160,6 +19308,17 @@ However, if you create a new folder inside the miz file, which contains the soun

#1570

+ + + +
+
+ + #table +CTLD.droppedBeacons + + +
@@ -23449,17 +23608,6 @@ When moose is loading dynamically (for moose class development), tracing is swit

Can transport crate.

- - - -
-
- - #number -CTLD.UnitCapabilities.length - - -
diff --git a/Documentation/Tasking.Task.html b/Documentation/Tasking.Task.html index 133909fdc..2e7e23d93 100644 --- a/Documentation/Tasking.Task.html +++ b/Documentation/Tasking.Task.html @@ -2897,17 +2897,6 @@ but can separately be modified later in your mission using the - - - -
-
- - -TASK.TaskControlMenu - - -
@@ -7544,17 +7533,6 @@ If the Unit is part of the Task, true is returned.

- - - -
-
- - -TASK.TaskControlMenu - - -
diff --git a/Documentation/Tasking.Task_A2A_Dispatcher.html b/Documentation/Tasking.Task_A2A_Dispatcher.html index dd7fdf25c..2f9fb6135 100644 --- a/Documentation/Tasking.Task_A2A_Dispatcher.html +++ b/Documentation/Tasking.Task_A2A_Dispatcher.html @@ -2898,7 +2898,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -3623,7 +3623,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -4799,7 +4799,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask @@ -6277,7 +6277,7 @@ If too large, any airborne cap may not be able to reach the detected target area
- #boolean + TASK_A2A_DISPATCHER.FlashNewTask diff --git a/Documentation/Tasking.Task_CARGO.html b/Documentation/Tasking.Task_CARGO.html index 4b769ed2a..133e4650d 100644 --- a/Documentation/Tasking.Task_CARGO.html +++ b/Documentation/Tasking.Task_CARGO.html @@ -3195,6 +3195,17 @@ based on the tasking capabilities defined in + +
+ diff --git a/Documentation/Tasking.Task_Cargo_Dispatcher.html b/Documentation/Tasking.Task_Cargo_Dispatcher.html index 70352b1d4..4cf170ac3 100644 --- a/Documentation/Tasking.Task_Cargo_Dispatcher.html +++ b/Documentation/Tasking.Task_Cargo_Dispatcher.html @@ -3176,65 +3176,21 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - -
- - -
-
- - #boolean -TASK_CARGO_DISPATCHER.CSARTasks - - - -
- -
-
-
- - #number -TASK_CARGO_DISPATCHER.CountCSAR - - - -
- -
- + @@ -4326,65 +4282,21 @@ This method can only be used once!

- -
- - -
-
- - #boolean -TASK_CARGO_DISPATCHER.CSARTasks - - - -
- -
-
-
- - #number -TASK_CARGO_DISPATCHER.CountCSAR - - - -
- -
- + @@ -5228,65 +5140,21 @@ This method can only be used once!

- -
-
- - -
-
- - -
-
-
- - #boolean -TASK_CARGO_DISPATCHER.CSARTasks - - - -
- -
-
-
- - #number -TASK_CARGO_DISPATCHER.CountCSAR - - - -
- -
-
- + +
+
+
@@ -6761,65 +6629,21 @@ This method can only be used once!

- -
-
- - -
-
- - -
-
-
- - #boolean -TASK_CARGO_DISPATCHER.CSARTasks - - - -
- -
-
-
- - #number -TASK_CARGO_DISPATCHER.CountCSAR - - - -
- -
-
- + +
+
+
diff --git a/Documentation/Utilities.FiFo.html b/Documentation/Utilities.FiFo.html index 374e58413..8d80e9b0b 100644 --- a/Documentation/Utilities.FiFo.html +++ b/Documentation/Utilities.FiFo.html @@ -3218,17 +3218,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau

Stack by pointer.

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

Stack by pointer.

-
- - -
-
- - #number -FIFO.uniquecounter - - -
diff --git a/Documentation/Utilities.Utils.html b/Documentation/Utilities.Utils.html index 87e3ecf2d..f58196fad 100644 --- a/Documentation/Utilities.Utils.html +++ b/Documentation/Utilities.Utils.html @@ -2145,6 +2145,12 @@

UTILS.GetCharacters(str)

Get a table of all characters in a string.

+ + + +

UTILS.GetCoalitionEnemy(Coalition, Neutral)

+ +

Get the enemy coalition for a given coalition.

@@ -2247,6 +2253,12 @@

UTILS.HdgDiff(h1, h2)

Calculate the difference between two "heading", i.e.

+ + + +

UTILS.IsAnyInTable(Table, Objects, Key)

+ +

Check if any object of multiple given objects is contained in a table.

@@ -2259,6 +2271,12 @@

UTILS.IsInSphere(InVec3, Vec3, Radius)

+ + + +

UTILS.IsInTable(Table, Object, Key)

+ +

Check if an object is contained in a table.

@@ -3921,6 +3939,63 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte + + + +
+ +
+

UTILS.GetCoalitionEnemy(Coalition, Neutral)

+
+ +

Get the enemy coalition for a given coalition.

+ +
+
+

Defined in:

+
+

UTILS

+
+

Parameters:

+
+
+

+ #number + Coalition +

+
+
+ +

The coalition ID.

+ +
+
+
+
+

+ #boolean + Neutral +

+
+
+ +

Include neutral as enemy.

+ +
+
+

Return value:

+
+
+

#table:

+
+
+ +

Enemy coalition table.

+ +
+
+
+
@@ -4918,6 +4993,76 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte + + + +
+ +
+

UTILS.IsAnyInTable(Table, Objects, Key)

+
+ +

Check if any object of multiple given objects is contained in a table.

+ +
+
+

Defined in:

+
+

UTILS

+
+

Parameters:

+
+
+

+ #table + Table +

+
+
+ +

The table.

+ +
+
+
+
+

+ #table + Objects +

+
+
+ +

The objects to check.

+ +
+
+
+
+

+ #string + Key +

+
+
+ +

(Optional) Key to check.

+ +
+
+

Return value:

+
+
+

#booolen:

+
+
+ +

Returns true if object is in table.

+ +
+
+
+
@@ -5024,6 +5169,76 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte + + + +
+ +
+

UTILS.IsInTable(Table, Object, Key)

+
+ +

Check if an object is contained in a table.

+ +
+
+

Defined in:

+
+

UTILS

+
+

Parameters:

+
+
+

+ #table + Table +

+
+
+ +

The table.

+ +
+
+
+
+

+ #table + Object +

+
+
+ +

The object to check.

+ +
+
+
+
+

+ #string + Key +

+
+
+ +

(Optional) Key to check. By default, the object itself is checked.

+ +
+
+

Return value:

+
+
+

#booolen:

+
+
+ +

Returns true if object is in table.

+ +
+
+
+
@@ -8045,7 +8260,7 @@ The data will be a simple comma separated list of name and state etc, with one h
-

Vector in 3D with x, y components.

+

Vector in 2D with x, y components.

@@ -8058,7 +8273,7 @@ The data will be a simple comma separated list of name and state etc, with one h
-

Vector in 3D with x, y components.

+

Vector in 2D with x, y components.

diff --git a/Documentation/Wrapper.Client.html b/Documentation/Wrapper.Client.html index c042848cf..1de8278be 100644 --- a/Documentation/Wrapper.Client.html +++ b/Documentation/Wrapper.Client.html @@ -16088,11 +16088,11 @@ Used to support CarpetBombing Task

Return value:

-

#CONTROLLABLE:

+

DCS#Task:

-

self

+

The DCS task structure.

diff --git a/Documentation/Wrapper.Controllable.html b/Documentation/Wrapper.Controllable.html index a374b8393..509125fcd 100644 --- a/Documentation/Wrapper.Controllable.html +++ b/Documentation/Wrapper.Controllable.html @@ -11882,11 +11882,11 @@ Used to support CarpetBombing Task

Return value:

-

#CONTROLLABLE:

+

DCS#Task:

-

self

+

The DCS task structure.

diff --git a/Documentation/Wrapper.Group.html b/Documentation/Wrapper.Group.html index 898e52c23..c53924809 100644 --- a/Documentation/Wrapper.Group.html +++ b/Documentation/Wrapper.Group.html @@ -4956,7 +4956,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-GROUP.InitRespawnRandomizePositionZone +GROUP.InitRespawnRandomizePositionInner + + + +
+ + +
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -9455,7 +9466,18 @@ So each unit of the group is respawned at exactly the same parking spot as it cu + +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -17381,11 +17403,11 @@ Used to support CarpetBombing Task

Return value:

-

self

+

The DCS task structure.

@@ -18422,7 +18444,18 @@ Note that when WayPointInitialize is called, the Mission of the controllable is + +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter @@ -22268,7 +22301,18 @@ Coordinates are dependent on the position of the maps origin.

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

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

+ +
+
+
+ + +GROUP.InitRespawnRandomizePositionOuter diff --git a/Documentation/Wrapper.Marker.html b/Documentation/Wrapper.Marker.html index 4ae15aee7..fda7bf1e3 100644 --- a/Documentation/Wrapper.Marker.html +++ b/Documentation/Wrapper.Marker.html @@ -3076,28 +3076,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #boolean -MARKER.tocoalition - - - -
- -
-
-
- - #boolean -MARKER.togroup - - -
@@ -5215,28 +5193,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #boolean -MARKER.tocoalition - - - -
- -
-
-
- - #boolean -MARKER.togroup - - -
@@ -6825,28 +6781,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -
- -
-
-
- - #boolean -MARKER.tocoalition - - - -
- -
-
-
- - #boolean -MARKER.togroup - - -
diff --git a/Documentation/Wrapper.Positionable.html b/Documentation/Wrapper.Positionable.html index 5f9d3be3f..e80f9a068 100644 --- a/Documentation/Wrapper.Positionable.html +++ b/Documentation/Wrapper.Positionable.html @@ -3632,6 +3632,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau +
+ + +
+
+ + Core.Spot#SPOT +POSITIONABLE.Spot + + +
@@ -7401,6 +7412,17 @@ Coordinates are dependent on the position of the maps origin.

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

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

+ + + +
+
+ + Core.Spot#SPOT +POSITIONABLE.Spot + + +
diff --git a/Documentation/Wrapper.Unit.html b/Documentation/Wrapper.Unit.html index b012a1eea..89053e2c7 100644 --- a/Documentation/Wrapper.Unit.html +++ b/Documentation/Wrapper.Unit.html @@ -14481,11 +14481,11 @@ Used to support CarpetBombing Task

Return value:

-

#CONTROLLABLE:

+

DCS#Task:

-

self

+

The DCS task structure.