-
- | Fields and Methods inherited from BASE |
- Description |
-
-
- RANGE.ClassID |
-
- The ID number of the class.
- |
-
-
- RANGE.ClassName |
-
- The name of the class.
- |
-
-
- RANGE.ClassNameAndID |
-
- The name of the class concatenated with the ID number of the class.
- |
-
-
- RANGE:ClearState(Object, StateName) |
-
- Clear the state of an object.
- |
-
-
- RANGE:CreateEventBirth(EventTime, Initiator, IniUnitName, place, subplace) |
-
- Creation of a Birth Event.
- |
-
-
- RANGE:CreateEventCrash(EventTime, Initiator) |
-
- Creation of a Crash Event.
- |
-
-
- RANGE:CreateEventDead(EventTime, Initiator) |
-
- Creation of a Dead Event.
- |
-
-
- RANGE:CreateEventPlayerEnterAircraft(PlayerUnit) |
-
- Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.
- |
-
-
- RANGE:CreateEventRemoveUnit(EventTime, Initiator) |
-
- Creation of a Remove Unit Event.
- |
-
-
- RANGE:CreateEventTakeoff(EventTime, Initiator) |
-
- Creation of a Takeoff Event.
- |
-
-
- RANGE:E(Arguments) |
-
- Log an exception which will be traced always.
- |
-
-
- RANGE:EventDispatcher() |
-
- Returns the event dispatcher
- |
-
-
- RANGE:EventRemoveAll() |
-
- Remove all subscribed events
- |
-
-
- RANGE:F(Arguments) |
-
- Trace a function call.
- |
-
-
- RANGE:F2(Arguments) |
-
- Trace a function call level 2.
- |
-
-
- RANGE:F3(Arguments) |
-
- Trace a function call level 3.
- |
-
-
- RANGE:GetClassID() |
-
- Get the ClassID of the class instance.
- |
-
-
- RANGE:GetClassName() |
-
- Get the ClassName of the class instance.
- |
-
-
- RANGE:GetClassNameAndID() |
-
- Get the ClassName + ClassID of the class instance.
- |
-
-
- RANGE:GetEventPriority() |
-
- Get the Class Event processing Priority.
- |
-
-
- RANGE:GetParent(Child, FromClass) |
-
- This is the worker method to retrieve the Parent class.
- |
-
-
- RANGE:GetState(Object, Key) |
-
- Get a Value given a Key from the Object.
- |
-
-
- RANGE:HandleEvent(EventID, EventFunction) |
-
- Subscribe to a DCS Event.
- |
-
-
- RANGE:I(Arguments) |
-
- Log an information which will be traced always.
- |
-
-
- RANGE:Inherit(Child, Parent) |
-
- This is the worker method to inherit from a parent class.
- |
-
-
- RANGE:IsInstanceOf(ClassName) |
-
- This is the worker method to check if an object is an (sub)instance of a class.
- |
-
-
- RANGE:IsTrace() |
-
- Enquires if tracing is on (for the class).
- |
-
-
- RANGE:New() |
-
- BASE constructor.
- |
-
-
- RANGE:OnEvent(EventData) |
-
- Occurs when an object is completely destroyed.
- |
-
-
- RANGE:OnEventBDA(EventData) |
-
- BDA.
- |
-
-
- RANGE:OnEventBaseCaptured(EventData) |
-
- Occurs when a ground unit captures either an airbase or a farp.
- |
-
-
- RANGE:OnEventBirth(EventData) |
-
- Occurs when any object is spawned into the mission.
- |
-
-
- RANGE:OnEventCrash(EventData) |
-
- Occurs when any aircraft crashes into the ground and is completely destroyed.
- |
-
-
- RANGE:OnEventDead(EventData) |
-
- Occurs when an object is dead.
- |
-
-
- RANGE:OnEventDetailedFailure(EventData) |
-
- Unknown precisely what creates this event, likely tied into newer damage model.
- |
-
-
- RANGE:OnEventDiscardChairAfterEjection(EventData) |
-
- Discard chair after ejection.
- |
-
-
- RANGE:OnEventEjection(EventData) |
-
- Occurs when a pilot ejects from an aircraft
-initiator : The unit that has ejected
- |
-
-
- RANGE:OnEventEngineShutdown(EventData) |
-
- Occurs when any aircraft shuts down its engines.
- |
-
-
- RANGE:OnEventEngineStartup(EventData) |
-
- Occurs when any aircraft starts its engines.
- |
-
-
- RANGE:OnEventHit(EventData) |
-
- Occurs whenever an object is hit by a weapon.
- |
-
-
- RANGE:OnEventHumanFailure(EventData) |
-
- Occurs when any system fails on a human controlled aircraft.
- |
-
-
- RANGE:OnEventKill(EventData) |
-
- Occurs on the death of a unit.
- |
-
-
- RANGE:OnEventLand(EventData) |
-
- Occurs when an aircraft lands at an airbase, farp or ship
-initiator : The unit that has landed
-place: Object that the unit landed on.
- |
-
-
- RANGE:OnEventLandingAfterEjection(EventData) |
-
- Occurs shortly after the landing animation of an ejected pilot touching the ground and standing up.
- |
-
-
- RANGE:OnEventLandingQualityMark(EventData) |
-
- Landing quality mark.
- |
-
-
- RANGE:OnEventMarkAdded(EventData) |
-
- Occurs when a new mark was added.
- |
-
-
- RANGE:OnEventMarkChange(EventData) |
-
- Occurs when a mark text was changed.
- |
-
-
- RANGE:OnEventMarkRemoved(EventData) |
-
- Occurs when a mark was removed.
- |
-
-
- RANGE:OnEventMissionEnd(EventData) |
-
- Occurs when a mission ends
- |
-
-
- RANGE:OnEventMissionStart(EventData) |
-
- Occurs when a mission starts
- |
-
-
- RANGE:OnEventParatrooperLanding(EventData) |
-
- Weapon add.
- |
-
-
- RANGE:OnEventPilotDead(EventData) |
-
- Occurs when the pilot of an aircraft is killed.
- |
-
-
- RANGE:OnEventPlayerEnterAircraft(EventData) |
-
- Occurs when a player enters a slot and takes control of an aircraft.
- |
-
-
- RANGE:OnEventPlayerEnterUnit(EventData) |
-
- Occurs when any player assumes direct control of a unit.
- |
-
-
- RANGE:OnEventPlayerLeaveUnit(EventData) |
-
- Occurs when any player relieves control of a unit to the AI.
- |
-
-
- RANGE:OnEventRefueling(EventData) |
-
- Occurs when an aircraft connects with a tanker and begins taking on fuel.
- |
-
-
- RANGE:OnEventRefuelingStop(EventData) |
-
- Occurs when an aircraft is finished taking fuel.
- |
-
-
- RANGE:OnEventScore(EventData) |
-
- Occurs when any modification to the "Score" as seen on the debrief menu would occur.
- |
-
-
- RANGE:OnEventShootingEnd(EventData) |
-
- Occurs when any unit stops firing its weapon.
- |
-
-
- RANGE:OnEventShootingStart(EventData) |
-
- Occurs when any unit begins firing a weapon that has a high rate of fire.
- |
-
-
- RANGE:OnEventShot(EventData) |
-
- Occurs whenever any unit in a mission fires a weapon.
- |
-
-
- RANGE:OnEventTakeoff(EventData) |
-
- Occurs when an aircraft takes off from an airbase, farp, or ship.
- |
-
-
- RANGE:OnEventTriggerZone(EventData) |
-
- Trigger zone.
- |
-
-
- RANGE:OnEventUnitLost(EventData) |
-
- Occurs when the game thinks an object is destroyed.
- |
-
-
- RANGE:ScheduleOnce(Start, SchedulerFunction, ...) |
-
- Schedule a new time event.
- |
-
-
- RANGE:ScheduleRepeat(Start, Repeat, RandomizeFactor, Stop, SchedulerFunction, ...) |
-
- Schedule a new time event.
- |
-
-
- RANGE:ScheduleStop(SchedulerFunction) |
-
- Stops the Schedule.
- |
-
-
- RANGE.Scheduler |
-
-
- |
-
-
- RANGE:SetEventPriority(EventPriority) |
-
- Set the Class Event processing Priority.
- |
-
-
- RANGE:SetState(Object, Key, Value) |
-
- Set a state or property of the Object given a Key and a Value.
- |
-
-
- RANGE:T(Arguments) |
-
- Trace a function logic level 1.
- |
-
-
- RANGE:T2(Arguments) |
-
- Trace a function logic level 2.
- |
-
-
- RANGE:T3(Arguments) |
-
- Trace a function logic level 3.
- |
-
-
- RANGE:TraceAll(TraceAll) |
-
- Trace all methods in MOOSE
- |
-
-
- RANGE:TraceClass(Class) |
-
- Set tracing for a class
- |
-
-
- RANGE:TraceClassMethod(Class, Method) |
-
- Set tracing for a specific method of class
- |
-
-
- RANGE:TraceLevel(Level) |
-
- Set trace level
- |
-
-
- RANGE:TraceOff() |
-
- Set trace off.
- |
-
-
- RANGE:TraceOn() |
-
- Set trace on.
- |
-
-
- RANGE:TraceOnOff(TraceOnOff) |
-
- Set trace on or off
-Note that when trace is off, no BASE.Debug statement is performed, increasing performance!
-When Moose is loaded statically, (as one file), tracing is switched off by default.
- |
-
-
- RANGE:UnHandleEvent(EventID) |
-
- UnSubscribe to a DCS event.
- |
-
-
- RANGE._ |
-
-
- |
-
-
- RANGE:_F(Arguments, DebugInfoCurrentParam, DebugInfoFromParam) |
-
- Trace a function call.
- |
-
-
- RANGE:_T(Arguments, DebugInfoCurrentParam, DebugInfoFromParam) |
-
- Trace a function logic.
- |
-
-
- RANGE.__ |
-
-
- |
-
-
- RANGE:onEvent(event) |
-
|
@@ -4112,186 +2481,16 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
-
-
Field(s)
-
-
-
-
- #number
-
RANGE.BombtrackThreshold
-
-
Bombs/rockets/missiles are only tracked if player-range distance is smaller than this threshold [m]. Default 25000 m.
-
-
-
-
-
#boolean
RANGE.Debug
-
If true, debug info is sent as messages on the screen.
-
-
-
-
-
-
-
- #table
-
-
-
Table for monitoring which players already got an F10 menu.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on group level.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on mission level.
-
-
-
-
-
-
-
- #table
-
RANGE.Names
-
-
Global list of all defined range names.
-
-
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.TdelaySmoke
-
-
Time delay in seconds between impact of bomb and starting the smoke. Default 3 seconds.
-
-
-
-
-
-
-
- #number
-
RANGE.Tmsg
-
-
Time [sec] messages to players are displayed. Default 30 sec.
@@ -4302,7 +2501,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.autosave
-
If true, automatically save results every X seconds.
+
@@ -4313,18 +2512,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#table
RANGE.bombPlayerResults
-
Table containing the bombing results of each player.
-
-
-
-
@@ -4335,7 +2526,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.defaultsmokebomb
-
If true, initialize player settings to smoke bomb.
+
@@ -4343,32 +2534,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number
-
RANGE.dtBombtrack
-
Time step [sec] used for tracking released bomb/rocket positions. Default 0.005 seconds.
-
-
-
-
-
-
-
- #boolean
-
RANGE.eventmoose
-
-
If true, events are handled by MOOSE. If false, events are handled directly by DCS eventhandler. Default true.
-
-
-
-
-
-
-
- #boolean
RANGE.examinerexclusive
-
If true, only the examiner gets messages. If false, clients and examiner get messages.
+
@@ -4376,10 +2545,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
@@ -4387,21 +2556,13 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #string
+
RANGE.id
-
String id of range for output in DCS log.
-
-
-
-
-
- #number
-
RANGE.illuminationmaxalt
-
Maximum altitude in meters AGL at which illumination bombs are fired. Default is 1000 m.
+
Log id.
@@ -4409,32 +2570,13 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number
-
RANGE.illuminationminalt
-
Minimum altitude in meters AGL at which illumination bombs are fired. Default is 500 m.
-
-
-
-
-
-
-
@@ -4442,10 +2584,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
@@ -4453,10 +2595,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
@@ -4467,7 +2609,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.messages
-
Globally enable/disable all messages to players.
+
@@ -4475,10 +2617,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
@@ -4486,21 +2628,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
-
@@ -4508,32 +2639,13 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
-
-
@@ -4541,10 +2653,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
@@ -4552,32 +2664,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
-
-
- #number
-
RANGE.rangeradius
-
-
Radius of range defining its total size for e.g. smoking bomb impact points and sending radio messages. Default 5 km.
-
-
-
-
-
-
-
-
Core.Zone#ZONE
RANGE.rangezone
-
MOOSE zone object of the range. For example, no bomb impacts are smoked if bombs fall outside of the range zone.
+
@@ -4585,65 +2675,10 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
- #number
-
RANGE.scorebombdistance
-
Distance from closest target up to which bomb hits are counted. Default 1000 m.
-
-
-
-
-
-
-
- #string
RANGE.soundpath
-
Path inside miz file where the sound files are located. Default is "Range Soundfiles/".
-
-
-
-
-
-
-
- #table
-
RANGE.strafeStatus
-
-
Table containing the current strafing target a player as assigned to.
-
-
-
-
-
-
-
-
- #number
-
RANGE.strafemaxalt
-
-
Maximum altitude in meters AGL for registering for a strafe run. Default is 914 m = 3000 ft.
@@ -4657,7 +2692,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
SCHEDULER:New(nil, self._CheckInZone, {self, EventData.IniUnitName}, 1, 1)
+
SCHEDULER:New(nil, self._CheckInZone, {self, EventData.IniUnitName}, 1, 1)
@@ -4668,7 +2703,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.trackbombs
-
If true (default), all bomb types are tracked and impact point to closest bombing target is evaluated.
+
@@ -4679,7 +2714,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.trackmissiles
-
If true (default), all missile types are tracked and impact point to closest bombing target is evaluated.
+
@@ -4690,29 +2725,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
#boolean
RANGE.trackrockets
-
If true (default), all rocket types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
- #boolean
-
RANGE.verbose
-
-
Verbosity level. Higher means more output to DCS log file.
-
-
-
-
-
-
@@ -4722,612 +2735,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
-
-
-
Add a coordinate of a bombing target.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
(Optional) Name of target. Default is "Bomb Target".
-
-
-
-
-
-
- #number
- goodhitrange
-
-
-
-
-
(Optional) Max hit distance from target unit in meters which is considered as a good hit. Default is 25 m.
-
-
-
-
Return value:
-
-
Usage:
-
- -- Setup a Range
- RangeOne = RANGE:New( "Range One" )
- -- Find the STATIC target object as setup in the ME
- RangeOneBombTarget = STATIC:FindByName( "RangeOneBombTarget" ):
- -- Add the coordinate of the STATIC target object as a bomb target (thus keeping the bomb function active, even if the STATIC target is destroyed)
- RangeOne:AddBombingTargetCoordinate( RangeOneBombTarget:GetCoordinate(), "RangeOneBombTarget", 50)
- -- Or, add the coordinate of the STATIC target object as a bomb target using default values (name will be "Bomb Target", goodhitrange will be 25 m)
- RangeOne:AddBombingTargetCoordinate( RangeOneBombTarget:GetCoordinate() )
-
-
-
-
-
-
-
-
-
-
-
-
Add all units of a group as bombing targets.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Group of bombing targets.
-
-
-
-
-
-
- #number
- goodhitrange
-
-
-
-
-
(Optional) Max hit distance from target unit in meters which is considered as a good hit. Default is 25 m.
-
-
-
-
-
-
- #boolean
- randommove
-
-
-
-
-
(Optional) If true, unit will move randomly within the range. Default is false.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add a unit or static object as bombing target.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Positionable (unit or static) of the strafe target.
-
-
-
-
-
-
- #number
- goodhitrange
-
-
-
-
-
(Optional) Max hit distance from target unit in meters which is considered as a good hit. Default is 25 m.
-
-
-
-
-
-
- #boolean
- randommove
-
-
-
-
-
(Optional) If true, unit will move randomly within the range. Default is false.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add bombing target(s) to range.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #table
- targetnames
-
-
-
-
-
Single or multiple (Table) names of unit or static objects serving as bomb targets.
-
-
-
-
-
-
- #number
- goodhitrange
-
-
-
-
-
(Optional) Max hit distance from target unit in meters which is considered as a good hit. Default is 25 m.
-
-
-
-
-
-
- #boolean
- randommove
-
-
-
-
-
(Optional) If true, unit will move randomly within the range. Default is false.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add new strafe pit.
-
-
-
For a strafe pit, hits from guns are counted. One pit can consist of several units.
-A strafe run approach is only valid if the player enters via a zone in front of the pit, which is defined by boxlength, boxwidth, and heading.
-Furthermore, the player must not be too high and fly in the direction of the pit to make a valid target apporoach.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #table
- targetnames
-
-
-
-
-
Single or multiple (Table) unit or static names defining the strafe targets. The first target in the list determines the approach box origin (heading and box).
-
-
-
-
-
-
- #number
- boxlength
-
-
-
-
-
(Optional) Length of the approach box in meters. Default is 3000 m.
-
-
-
-
-
-
- #number
- boxwidth
-
-
-
-
-
(Optional) Width of the approach box in meters. Default is 300 m.
-
-
-
-
-
-
- #number
- heading
-
-
-
-
-
(Optional) Approach box heading in degrees (originating FROM the target). Default is the heading set in the ME for the first target unit
-
-
-
-
-
-
- #boolean
- inverseheading
-
-
-
-
-
(Optional) Use inverse heading (heading --> heading - 180 Degrees). Default is false.
-
-
-
-
-
-
- #number
- goodpass
-
-
-
-
-
(Optional) Number of hits for a "good" strafing pass. Default is 20.
-
-
-
-
-
-
- #number
- foulline
-
-
-
-
-
(Optional) Foul line distance. Hits from closer than this distance are not counted. Default is 610 m = 2000 ft. Set to 0 for no foul line.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add all units of a group as one new strafe target pit.
-
-
-
For a strafe pit, hits from guns are counted. One pit can consist of several units.
-Note, an approach is only valid, if the player enters via a zone in front of the pit, which defined by boxlength and boxheading.
-Furthermore, the player must not be too high and fly in the direction of the pit to make a valid target apporoach.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
MOOSE group of unit names defining the strafe target pit. The first unit in the group determines the approach zone (heading and box).
-
-
-
-
-
-
- #number
- boxlength
-
-
-
-
-
(Optional) Length of the approach box in meters. Default is 3000 m.
-
-
-
-
-
-
- #number
- boxwidth
-
-
-
-
-
(Optional) Width of the approach box in meters. Default is 300 m.
-
-
-
-
-
-
- #number
- heading
-
-
-
-
-
(Optional) Approach heading in Degrees. Default is heading of the unit as defined in the mission editor.
-
-
-
-
-
-
- #boolean
- inverseheading
-
-
-
-
-
(Optional) Use inverse heading (heading --> heading - 180 Degrees). Default is false.
-
-
-
-
-
-
- #number
- goodpass
-
-
-
-
-
(Optional) Number of hits for a "good" strafing pass. Default is 20.
-
-
-
-
-
-
- #number
- foulline
-
-
-
-
-
(Optional) Foul line distance. Hits from closer than this distance are not counted. Default 610 m = 2000 ft. Set to 0 for no foul line.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Disable debug modus.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enable debug modus.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
@@ -5389,63 +2796,6 @@ Furthermore, the player must not be too high and fly in the direction of the pit
-
-
-
-
-
-
-
-
Returns the foul line distance between strafe pit target and a foul line distance marker object.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- namepit
-
-
-
-
-
Name of the strafe pit target object.
-
-
-
-
-
-
- #string
- namefoulline
-
-
-
-
-
Name of the foul line distance marker object.
-
-
-
-
Return value:
-
-
-
-
-
Foul line distance in meters.
-
-
-
-
-
@@ -5492,53 +2842,6 @@ Furthermore, the player must not be too high and fly in the direction of the pit
-
-
-
-
-
-
-
-
RANGE contructor.
-
-
-
Creates a new RANGE object.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- rangename
-
-
-
-
-
Name of the range. Has to be unique. Will we used to create F10 menu items etc.
-
-
-
-
Return value:
-
-
-
@@ -5777,1085 +3080,6 @@ Furthermore, the player must not be too high and fly in the direction of the pit
-
-
-
-
-
-
-
-
Range event handler for event birth.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Range event handler for event hit.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Range event handler for event shot (when a unit releases a rocket or bomb (but not a fast firing gun).
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Switch off auto save player results.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Automatically save player results to disc.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set smoke color for marking bomb targets.
-
-
-
By default bomb targets are marked by red smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Color id. Default SMOKECOLOR.Red.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set bomb track threshold distance.
-
-
-
Bombs/rockets/missiles are only tracked if player-range distance is less than this distance. Default 25 km.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #number
- distance
-
-
-
-
-
Threshold distance in km. Default 25 km.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set time interval for tracking bombs.
-
-
-
A smaller time step increases accuracy but needs more CPU time.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Time interval in seconds. Default is 0.005 s.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set player setting whether bomb impact points are smoked or not.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #boolean
- switch
-
-
-
-
-
(Optional) If true, impact points of bombs will be smoked. Default is true.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set max number of player results that are displayed.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Number of results. Default is 10.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enable instructor radio and set frequency.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #number
- frequency
-
-
-
-
-
Frequency in MHz. Default 305 MHz.
-
-
-
-
-
-
- #string
- relayunitname
-
-
-
-
-
Name of the unit used for transmission.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set maximal strafing altitude.
-
-
-
Player entering a strafe pit above that altitude are not registered for a valid pass.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Maximum altitude in meters AGL. Default is 914 m = 3000 ft.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set time how long (most) messages are displayed.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Time in seconds. Default is 30 s.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set messages to examiner.
-
-
-
The examiner will receive messages from all clients.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- examinergroupname
-
-
-
-
-
Name of the group of the examiner.
-
-
-
-
-
-
- #boolean
- exclusively
-
-
-
-
-
If true, messages are send exclusively to the examiner, i.e. not to the clients.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Disable ALL messages to players.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enable messages to players.
-
-
-
This is the default
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enable range control and set frequency.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #number
- frequency
-
-
-
-
-
Frequency in MHz. Default 256 MHz.
-
-
-
-
-
-
- #string
- relayunitname
-
-
-
-
-
Name of the unit used for transmission.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set range location.
-
-
-
If this is not done, one (random) unit position of the range is used to determine the location of the range.
-The range location determines the position at which the weather data is evaluated.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Coordinate of the range.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set range radius.
-
-
-
Defines the area in which e.g. bomb impacts are smoked.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Radius in km. Default 5 km.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set range zone.
-
-
-
For example, no bomb impact points are smoked if a bomb falls outside of this zone.
-If a zone is not explicitly specified, the range zone is determined by its location and radius.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
MOOSE zone defining the range perimeters.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set score bomb distance.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #number
- distance
-
-
-
-
-
Distance in meters. Default 1000 m.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set time delay between bomb impact and starting to smoke the impact point.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Time delay in seconds. Default is 3 seconds.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set sound files folder within miz file.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Path for sound files. Default "ATIS Soundfiles/". Mind the slash "/" at the end!
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set smoke color for marking strafe pit approach boxes.
-
-
-
By default strafe pit boxes are marked by white smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Color id. Default SMOKECOLOR.White.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set smoke color for marking strafe targets.
-
-
-
By default strafe targets are marked by green smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Color id. Default SMOKECOLOR.Green.
-
-
-
-
Return value:
-
-
-
@@ -6897,1252 +3121,6 @@ If a zone is not explicitly specified, the range zone is determined by its locat
-
-
-
-
-
-
-
-
Disables tracking of all bomb types.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enables tracking of all bomb types.
-
-
-
Note that this is the default setting.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Disables tracking of all missile types.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enables tracking of all missile types.
-
-
-
Note that this is the default setting.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Disables tracking of all rocket types.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enables tracking of all rocket types.
-
-
-
Note that this is the default setting.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add menu commands for player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Check if player is inside a strafing zone.
-
-
-
If he is, we start looking for hits. If he was and left the zone again, the result is stored.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Check status of players.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Checks if a static object with a certain name exists.
-
-
-
It also added it to the MOOSE data base, if it is not already in there.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
Name of the potential static object.
-
-
-
-
Return value:
-
-
-
-
-
Returns true if a static with this name exists. Retruns false if a unit with this name exists. Returns nil if neither unit or static exist.
-
-
-
-
-
-
-
-
-
-
-
-
-
Start smoking a coordinate with a delay.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Display bombing target locations to player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Display best bombing results of top 10 players.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Display message to group.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
Duration how long the message is displayed.
-
-
-
-
-
-
- #boolean
- _clear
-
-
-
-
-
Clear up old messages.
-
-
-
-
-
-
- #boolean
- display
-
-
-
-
-
If true, display message regardless of player setting "Messages Off".
-
-
-
-
-
-
-
-
-
-
-
-
-
Display top 10 bombing run results of specific player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Display top 10 stafing results of a specific player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Report information like bearing and range from player unit to range.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Report weather conditions at range.
-
-
-
Temperature, QFE pressure and wind data.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Display top 10 strafing results of all players.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name fo the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Display pit location and heading to player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Toggle status of flaring direct hits of range targets.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get the number of shells a unit currently has.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
Return value:
-
-
-
-
-
-
Number of shells left
-
-
-
-
-
-
-
-
-
-
-
-
-
Get the coordinate of a Bomb target.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return value:
-
-
-
-
-
Target coordinate.
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns the unit of a player and the player name.
-
-
-
If the unit does not belong to a player, nil is returned.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
Return values:
-
-
-
-
-
-
-
Name of the player.
-
-
-
-
-
-
-
nil If player does not exist.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get max speed of controllable.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return value:
-
-
-
-
-
-
Maximum speed in km/h.
-
-
-
-
-
-
-
-
-
-
-
-
-
Illuminate targets.
-
-
-
Fires illumination bombs at one random bomb and one random strafe target at a random altitude between 400 and 800 m.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
(Optional) Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Mark targets on F10 map.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Toggle display messages to player.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Reset player statistics.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Toggle status of time delay for smoking bomb impact points
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Toggle status of smoking bomb impact points.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Mark bombing targets with smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Mark approach boxes of strafe targets with smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Mark strafing targets with smoke.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
@@ -8399,6729 +3377,6 @@ If a zone is not explicitly specified, the range zone is determined by its locat
-
-
-
-
-
-
-
-
Sets the flare color used to flare players direct target hits.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Returns a string which consists of the player name.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- unitname
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
-
-
-
-
-
Sets the flare color used when player makes a direct hit on target.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
ID of flare color.
-
-
-
-
-
-
-
-
-
-
-
-
-
Sets the smoke color used to smoke players bomb impact points.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- _unitName
-
-
-
-
-
Name of the player unit.
-
-
-
-
-
-
-
-
ID of the smoke color.
-
-
-
-
-
-
-
-
-
-
-
-
-
Converts a smoke color id to text.
-
-
-
E.g. SMOKECOLOR.Blue --> "blue".
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
General event handler.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Function called after player enters the range zone.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function called after player leaves the range zone.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Function called after bomb impact on range.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
Result of bomb impact.
-
-
-
-
-
-
-
-
Player data table.
-
-
-
-
-
-
-
-
-
-
-
-
-
On after "Load" event.
-
-
-
Loads results of all players from file.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Function called after save.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Initializes number of targets and location of the range.
-
-
-
Starts the event handlers.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Check spawn queue and spawn aircraft if necessary.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Function called before save event.
-
-
-
Checks that io and lfs are desanitized.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Function called before save event.
-
-
-
Checks that io and lfs are desanitized.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
Field(s)
-
-
-
-
-
- #number
-
RANGE.BombtrackThreshold
-
-
Bombs/rockets/missiles are only tracked if player-range distance is smaller than this threshold [m]. Default 25000 m.
-
-
-
-
-
-
-
-
- #boolean
-
RANGE.Debug
-
-
If true, debug info is sent as messages on the screen.
-
-
-
-
-
-
-
-
- #table
-
-
-
Table for monitoring which players already got an F10 menu.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on group level.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on mission level.
-
-
-
-
-
-
-
- #table
-
RANGE.Names
-
-
Global list of all defined range names.
-
-
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.TdelaySmoke
-
-
Time delay in seconds between impact of bomb and starting the smoke. Default 3 seconds.
-
-
-
-
-
-
-
- #number
-
RANGE.Tmsg
-
-
Time [sec] messages to players are displayed. Default 30 sec.
-
-
-
-
-
-
-
- #boolean
-
RANGE.autosave
-
-
If true, automatically save results every X seconds.
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.dtBombtrack
-
-
Time step [sec] used for tracking released bomb/rocket positions. Default 0.005 seconds.
-
-
-
-
-
-
-
- #boolean
-
RANGE.eventmoose
-
-
If true, events are handled by MOOSE. If false, events are handled directly by DCS eventhandler. Default true.
-
-
-
-
-
-
-
- #boolean
-
RANGE.examinerexclusive
-
-
If true, only the examiner gets messages. If false, clients and examiner get messages.
-
-
-
-
-
-
-
-
- #string
-
RANGE.id
-
-
String id of range for output in DCS log.
-
-
-
-
-
-
-
- #number
-
RANGE.illuminationmaxalt
-
-
Maximum altitude in meters AGL at which illumination bombs are fired. Default is 1000 m.
-
-
-
-
-
-
-
- #number
-
RANGE.illuminationminalt
-
-
Minimum altitude in meters AGL at which illumination bombs are fired. Default is 500 m.
-
-
-
-
-
-
-
-
-
-
-
- #boolean
-
RANGE.messages
-
-
Globally enable/disable all messages to players.
-
-
-
-
-
-
-
-
- #number
-
RANGE.ndisplayresult
-
-
Number of (player) results that a displayed. Default is 10.
-
-
-
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.rangeradius
-
-
Radius of range defining its total size for e.g. smoking bomb impact points and sending radio messages. Default 5 km.
-
-
-
-
-
-
-
-
Core.Zone#ZONE
-
RANGE.rangezone
-
-
MOOSE zone object of the range. For example, no bomb impacts are smoked if bombs fall outside of the range zone.
-
-
-
-
-
-
-
- #number
-
RANGE.scorebombdistance
-
-
Distance from closest target up to which bomb hits are counted. Default 1000 m.
-
-
-
-
-
-
-
- #string
-
RANGE.soundpath
-
-
Path inside miz file where the sound files are located. Default is "Range Soundfiles/".
-
-
-
-
-
-
-
-
- #table
-
RANGE.strafeStatus
-
-
Table containing the current strafing target a player as assigned to.
-
-
-
-
-
-
-
-
- #number
-
RANGE.strafemaxalt
-
-
Maximum altitude in meters AGL for registering for a strafe run. Default is 914 m = 3000 ft.
-
-
-
-
-
-
-
-
-
RANGE.timerCheckZone
-
-
-
-
-
SCHEDULER:New(nil, self._CheckInZone, {self, EventData.IniUnitName}, 1, 1)
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackbombs
-
-
If true (default), all bomb types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackmissiles
-
-
If true (default), all missile types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackrockets
-
-
If true (default), all rocket types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.verbose
-
-
Verbosity level. Higher means more output to DCS log file.
-
-
-
-
-
-
-
Function(s)
-
-
-
-
-
-
Adds an End state.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
Set the default Process template with key ProcessName providing the ProcessClass and the process object when it is assigned to a Wrapper.Controllable by the task.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Can contain a string indicating the From state or a table of strings containing multiple From states.
-
-
-
-
-
-
-
-
-
An sub-process FSM.
-
-
-
-
-
-
- #table
- ReturnEvents
-
-
-
-
-
A table indicating for which returned events of the SubFSM which Event must be triggered in the FSM.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Adds a score for the FSM to be achieved.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
is the state of the process when the score needs to be given. (See the relevant state descriptions of the process).
-
-
-
-
-
-
- #string
- ScoreText
-
-
-
-
-
is a text describing the score that is given according the status.
-
-
-
-
-
-
-
-
is a number providing the score of the status.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Adds a score for the FSM_PROCESS to be achieved.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
is the From State of the main process.
-
-
-
-
-
-
-
-
is the Event of the main process.
-
-
-
-
-
-
-
-
is the state of the process when the score needs to be given. (See the relevant state descriptions of the process).
-
-
-
-
-
-
- #string
- ScoreText
-
-
-
-
-
is a text describing the score that is given according the status.
-
-
-
-
-
-
-
-
is a number providing the score of the status.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Add a new transition rule to the FSM.
-
-
-
A transition rule defines when and if the FSM can transition from a state towards another state upon a triggered event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Can contain a string indicating the From state or a table of strings containing multiple From states.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Get current state.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
Current FSM state.
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns the End states.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
Returns a table of the SubFSM rules defined within the FSM.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Returns a table with the scores defined.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Returns the start state of the FSM.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
A string containing the start state.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get current state.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
Current FSM state.
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns a table with the Subs defined.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Returns a table of the transition rules defined within the FSM.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Check if FSM is in state.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
true, FSM is in this state.
-
-
-
-
-
-
-
-
-
-
-
-
-
Load call backs.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #table
- CallBackTable
-
-
-
-
-
Table of call backs.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creates a new FSM object.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Sets the start state of the FSM.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A string defining the start state.
-
-
-
-
-
-
-
-
-
-
-
-
-
Add to map.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
Call handler.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Step "onafter", "onbefore", "onenter", "onleave".
-
-
-
-
-
-
- #string
- trigger
-
-
-
-
-
-
-
-
- #string
- EventName
-
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Create transition.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- EventName
-
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Delayed transition.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- EventName
-
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Event map.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
- #table
- EventStructure
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Go sub.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- ParentFrom
-
-
-
-
-
Parent from state.
-
-
-
-
-
-
- #string
- ParentEvent
-
-
-
-
-
Parent event name.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Handler.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
- #string
- EventName
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Is end state.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #string
- Current
-
-
-
-
-
Current state name.
-
-
-
-
Return values:
-
-
-
-
-
-
-
-
-
-
-
Sub maps.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
-
Check if can do an event.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return values:
-
-
-
-
-
If true, FSM can do the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Check if cannot do an event.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
Return value:
-
-
-
-
-
If true, FSM cannot do the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
Check if FSM is in state.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
true, FSM is in this state.
-
-
-
-
-
-
-
-
-
-
-
Field(s)
-
-
-
-
-
- #number
-
RANGE.BombtrackThreshold
-
-
Bombs/rockets/missiles are only tracked if player-range distance is smaller than this threshold [m]. Default 25000 m.
-
-
-
-
-
-
-
-
- #boolean
-
RANGE.Debug
-
-
If true, debug info is sent as messages on the screen.
-
-
-
-
-
-
-
-
- #table
-
-
-
Table for monitoring which players already got an F10 menu.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on group level.
-
-
-
-
-
-
-
- #table
-
-
-
Main radio menu on mission level.
-
-
-
-
-
-
-
- #table
-
RANGE.Names
-
-
Global list of all defined range names.
-
-
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.TdelaySmoke
-
-
Time delay in seconds between impact of bomb and starting the smoke. Default 3 seconds.
-
-
-
-
-
-
-
- #number
-
RANGE.Tmsg
-
-
Time [sec] messages to players are displayed. Default 30 sec.
-
-
-
-
-
-
-
- #boolean
-
RANGE.autosave
-
-
If true, automatically save results every X seconds.
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.dtBombtrack
-
-
Time step [sec] used for tracking released bomb/rocket positions. Default 0.005 seconds.
-
-
-
-
-
-
-
- #boolean
-
RANGE.eventmoose
-
-
If true, events are handled by MOOSE. If false, events are handled directly by DCS eventhandler. Default true.
-
-
-
-
-
-
-
- #boolean
-
RANGE.examinerexclusive
-
-
If true, only the examiner gets messages. If false, clients and examiner get messages.
-
-
-
-
-
-
-
-
- #string
-
RANGE.id
-
-
String id of range for output in DCS log.
-
-
-
-
-
-
-
- #number
-
RANGE.illuminationmaxalt
-
-
Maximum altitude in meters AGL at which illumination bombs are fired. Default is 1000 m.
-
-
-
-
-
-
-
- #number
-
RANGE.illuminationminalt
-
-
Minimum altitude in meters AGL at which illumination bombs are fired. Default is 500 m.
-
-
-
-
-
-
-
-
-
-
-
- #boolean
-
RANGE.messages
-
-
Globally enable/disable all messages to players.
-
-
-
-
-
-
-
-
- #number
-
RANGE.ndisplayresult
-
-
Number of (player) results that a displayed. Default is 10.
-
-
-
-
-
-
-
-
-
-
-
-
-
- #number
-
RANGE.rangeradius
-
-
Radius of range defining its total size for e.g. smoking bomb impact points and sending radio messages. Default 5 km.
-
-
-
-
-
-
-
-
Core.Zone#ZONE
-
RANGE.rangezone
-
-
MOOSE zone object of the range. For example, no bomb impacts are smoked if bombs fall outside of the range zone.
-
-
-
-
-
-
-
- #number
-
RANGE.scorebombdistance
-
-
Distance from closest target up to which bomb hits are counted. Default 1000 m.
-
-
-
-
-
-
-
- #string
-
RANGE.soundpath
-
-
Path inside miz file where the sound files are located. Default is "Range Soundfiles/".
-
-
-
-
-
-
-
-
- #table
-
RANGE.strafeStatus
-
-
Table containing the current strafing target a player as assigned to.
-
-
-
-
-
-
-
-
- #number
-
RANGE.strafemaxalt
-
-
Maximum altitude in meters AGL for registering for a strafe run. Default is 914 m = 3000 ft.
-
-
-
-
-
-
-
-
-
RANGE.timerCheckZone
-
-
-
-
-
SCHEDULER:New(nil, self._CheckInZone, {self, EventData.IniUnitName}, 1, 1)
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackbombs
-
-
If true (default), all bomb types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackmissiles
-
-
If true (default), all missile types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.trackrockets
-
-
If true (default), all rocket types are tracked and impact point to closest bombing target is evaluated.
-
-
-
-
-
-
-
- #boolean
-
RANGE.verbose
-
-
Verbosity level. Higher means more output to DCS log file.
-
-
-
-
-
-
-
Function(s)
-
-
-
-
-
-
Clear the state of an object.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The object that holds the Value set by the Key.
-
-
-
-
-
-
-
-
The key that is should be cleared.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a Birth Event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The time stamp of the event.
-
-
-
-
-
-
-
-
The initiating object of the event.
-
-
-
-
-
-
- #string
- IniUnitName
-
-
-
-
-
The initiating unit name.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a Crash Event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The time stamp of the event.
-
-
-
-
-
-
-
-
The initiating object of the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a Dead Event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The time stamp of the event.
-
-
-
-
-
-
-
-
The initiating object of the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a S_EVENT_PLAYER_ENTER_AIRCRAFT event.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The aircraft unit the player entered.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a Remove Unit Event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The time stamp of the event.
-
-
-
-
-
-
-
-
The initiating object of the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
Creation of a Takeoff Event.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The time stamp of the event.
-
-
-
-
-
-
-
-
The initiating object of the event.
-
-
-
-
-
-
-
-
-
-
-
-
-
Log an exception which will be traced always.
-
-
-
Can be anywhere within the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns the event dispatcher
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Remove all subscribed events
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Trace a function call.
-
-
-
Must be at the beginning of the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Trace a function call level 2.
-
-
-
Must be at the beginning of the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Trace a function call level 3.
-
-
-
Must be at the beginning of the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get the ClassID of the class instance.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
The ClassID of the class instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get the ClassName of the class instance.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
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:
-
-
-
-
-
The ClassName + ClassID of the class instance.
-
-
-
-
-
-
-
-
-
-
-
-
-
Get the Class Event processing Priority.
-
-
-
The Event processing Priority is a number from 1 to 10,
-reflecting the order of the classes subscribed to the Event to be processed.
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
The Event processing Priority.
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the worker method to retrieve the Parent class.
-
-
-
Note that the Parent class must be passed to call the parent class method.
-
-
self:GetParent(self):ParentMethod()
-
-
-
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
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:
-
-
-
-
-
-
-
-
-
-
-
Get a Value given a Key from the Object.
-
-
-
Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The object that holds the Value set by the 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:
-
-
-
-
- #function
- EventFunction
-
-
-
-
-
(optional) The function to be called when the event occurs for the unit.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Log an information which will be traced always.
-
-
-
Can be anywhere within the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the worker method to inherit from a parent class.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
is the Child class that inherits.
-
-
-
-
-
-
-
-
is the Parent class that the Child inherits from.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
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:
-
-
-
-
-
is the name of the class or the class itself to run the check against
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Enquires if tracing is on (for the class).
-
-
-
-
Defined in:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
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:
-
-
-
-
-
-
-
-
-
-
-
Occurs when an object is completely destroyed.
-
-
-
initiator : The unit that is was destroyed.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
BDA.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a ground unit captures either an airbase or a farp.
-
-
-
initiator : The unit that captured the base
-place: The airbase that was captured, can be a FARP or Airbase. When calling place:getCoalition() the faction will already be the new owning faction.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any object is spawned into the mission.
-
-
-
initiator : The unit that was spawned
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any aircraft crashes into the ground and is completely destroyed.
-
-
-
initiator : The unit that has crashed
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when an object is dead.
-
-
-
initiator : The unit that is dead.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
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:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Discard chair after ejection.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a pilot ejects from an aircraft
-initiator : The unit that has ejected
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any aircraft shuts down its engines.
-
-
-
initiator : The unit that is stopping its engines.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any aircraft starts its engines.
-
-
-
initiator : The unit that is starting its engines.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs whenever an object is hit by a weapon.
-
-
-
initiator : The unit object the fired the weapon
-weapon: Weapon object that hit the target
-target: The Object that was hit.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any system fails on a human controlled aircraft.
-
-
-
initiator : The unit that had the failure
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs on the death of a unit.
-
-
-
Contains more and different information. Similar to unit_lost it will occur for aircraft before the aircraft crash event occurs.
-
-
- - initiator: The unit that killed the target
- - target: Target Object
- - weapon: Weapon Object
-
-
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when an aircraft lands at an airbase, farp or ship
-initiator : The unit that has landed
-place: Object that the unit landed on.
-
-
-
Can be an Airbase Object, FARP, or Ships
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs shortly after the landing animation of an ejected pilot touching the ground and standing up.
-
-
-
Event does not occur if the pilot lands in the water and sub combs to Davey Jones Locker.
-
-
- - initiator: Static object representing the ejected pilot. Place : Aircraft that the pilot ejected from.
- - place: may not return as a valid object if the aircraft has crashed into the ground and no longer exists.
- - subplace: is always 0 for unknown reasons.
-
-
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Landing quality mark.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a new mark was added.
-
-
-
MarkID: ID of the mark.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a mark text was changed.
-
-
-
MarkID: ID of the mark.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a mark was removed.
-
-
-
MarkID: ID of the mark.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a mission ends
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a mission starts
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Weapon add.
-
-
-
Fires when entering a mission per pylon with the name of the weapon (double pylons not counted, infinite wep reload not counted.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when the pilot of an aircraft is killed.
-
-
-
Can occur either if the player is alive and crashes or if a weapon kills the pilot without completely destroying the plane.
-initiator : The unit that the pilot has died in.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when a player enters a slot and takes control of an aircraft.
-
-
-
NOTE: This is a workaround of a long standing DCS bug with the PLAYER_ENTER_UNIT event.
-initiator : The unit that is being taken control of.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any player assumes direct control of a unit.
-
-
-
initiator : The unit that is being taken control of.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any player relieves control of a unit to the AI.
-
-
-
initiator : The unit that the player left.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when an aircraft connects with a tanker and begins taking on fuel.
-
-
-
initiator : The unit that is receiving fuel.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when an aircraft is finished taking fuel.
-
-
-
initiator : The unit that was receiving fuel.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any modification to the "Score" as seen on the debrief menu would occur.
-
-
-
There is no information on what values the score was changed to. Event is likely similar to player_comment in this regard.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when any unit stops firing its weapon.
-
-
-
Event will always correspond with a shooting start event.
-initiator : The unit that was doing the shooting.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
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.
-initiator : The unit that is doing the shooting.
-target: The unit that is being targeted.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
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.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when an aircraft takes off from an airbase, farp, or ship.
-
-
-
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:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Trigger zone.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
The EventData structure.
-
-
-
-
-
-
-
-
-
-
-
-
-
Occurs when the game thinks an object is destroyed.
-
-
-
-
- - initiator: The unit that is was destroyed.
-
-
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
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:
-
-
-
-
-
Specifies the amount of seconds that will be waited before the scheduling is started, and the event function is called.
-
-
-
-
-
-
- #function
- SchedulerFunction
-
-
-
-
-
The event function to be called when a timer event occurs. The event function needs to accept the parameters specified in SchedulerArguments.
-
-
-
-
-
-
-
-
Optional arguments that can be given as part of scheduler. The arguments need to be given as a table { param1, param 2, ... }.
-
-
-
-
Return value:
-
-
-
-
-
The ScheduleID of the planned schedule.
-
-
-
-
-
-
-
-
-
-
-
-
-
Schedule a new time event.
-
-
-
Note that the schedule will only take place if the scheduler is started. Even for a single schedule event, the scheduler needs to be started also.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
Specifies the amount of seconds that will be waited before the scheduling is started, and the event function is called.
-
-
-
-
-
-
-
-
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.
-
-
-
-
-
-
-
-
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.
-
-
-
-
-
-
-
-
Optional arguments that can be given as part of scheduler. The arguments need to be given as a table { param1, param 2, ... }.
-
-
-
-
Return value:
-
-
-
-
-
The ScheduleID of the planned schedule.
-
-
-
-
-
-
-
-
-
-
-
-
-
Stops the Schedule.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #function
- SchedulerFunction
-
-
-
-
-
The event function to be called when a timer event occurs. The event function needs to accept the parameters specified in SchedulerArguments.
-
-
-
-
-
-
-
-
-
-
-
-
-
Set the Class Event processing Priority.
-
-
-
The Event processing Priority is a number from 1 to 10,
-reflecting the order of the classes subscribed to the Event to be processed.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
- #number
- EventPriority
-
-
-
-
-
The Event processing Priority.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Set a state or property of the Object given a Key and a Value.
-
-
-
Note that if the Object is destroyed, nillified or garbage collected, then the Values and Keys will also be gone.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
The object that will hold the Value set by the 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!
-
-
-
-
-
-
-
-
The value to is stored in the object.
-
-
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Trace a function logic level 1.
-
-
-
Can be anywhere within the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Trace a function logic level 2.
-
-
-
Can be anywhere within the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
-
-
-
-
-
-
-
Trace a function logic level 3.
-
-
-
Can be anywhere within the function logic.
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
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:
-
-
-
-
-
-
-
-
-
-
-
Set tracing for a specific method of class
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
-
-
-
-
-
-
-
Set trace level
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
-
-
-
-
-
-
-
-
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:
-
-
Return value:
-
-
-
-
-
-
-
-
-
-
-
Trace a function call.
-
-
-
This function is private.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
- DebugInfoCurrentParam
-
-
-
-
-
-
-
- DebugInfoFromParam
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Trace a function logic.
-
-
-
-
Defined in:
-
-
Parameters:
-
-
-
-
-
A #table or any field.
-
-
-
-
-
-
- DebugInfoCurrentParam
-
-
-
-
-
-
-
- DebugInfoFromParam
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TODO: Complete DCS#Event structure.
-- The main event handling function... This function captures all events generated for the class.
- @param #BASE self
- @param DCS#Event event
-
-
-
-
Defined in:
-
-
Parameter:
-
-
-
diff --git a/Documentation/Functional.Rat.html b/Documentation/Functional.Rat.html
index be556463f..0bf63275f 100644
--- a/Documentation/Functional.Rat.html
+++ b/Documentation/Functional.Rat.html
@@ -3358,6 +3358,12 @@ manager:Stop(7200)
RAT.termtype |
Type of terminal to be used when spawning at an airbase.
+ |
+
+
+ RAT.type |
+
+
|
@@ -4318,6 +4324,36 @@ and any spaces before and after the resulting name are removed.
RAT:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle) |
+ |
+
+
+ RAT.communication |
+
+
+ |
+
+
+ RAT.frequency |
+
+
+ |
+
+
+ RAT.livery_id |
+
+
+ |
+
+
+ RAT.modulation |
+
+
+ |
+
+
+ RAT.skill |
+
+
|
@@ -6689,6 +6725,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.