From 8525602b01ca909d542257436e788283aa538a0d Mon Sep 17 00:00:00 2001
From: Applevangelist The Defender Default Settings over all Squadrons.
The Defender Default Settings over all Squadrons.
+ + + +The Defender Default Settings over all Squadrons.
+ + + +The Defender Default Settings over all Squadrons.
+ + + +Aircraft is on a pickup mission.
+Aircraft is on a pickup mission.
+Aircraft is on a pickup mission.
+Aircraft is on a pickup mission.
+the y coordinate in meters.
+the y coordinate in meters.
+the y coordinate in meters.
+Don't repeat the group from Take-Off till Landing and back Take-Off by ReSpawning.
- @@ -3444,20 +3441,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau - - - -The internal counter of the amount of spawning the has happened since SpawnStart.
-By default, no InitLimit
- - - - -Flag that indicates if all the Groups of the SpawnGroup need to be visible when Spawned.
+When the first Spawn executes, all the Groups need to be made visible before start.
The internal counter of the amount of spawning the has happened since SpawnStart.
-When the first Spawn executes, all the Groups need to be made visible before start.
Global _MANTISAwacs |
- - - | -
[internal] Grouping detected objects to 5000m zones
- -Global _MANTISdetection |
- - - | -
[internal] Grouping detected objects to 5000m zones
-The EWR #SET_GROUP used for advanced mode
+(Internal) Function to check if any object is in the given SAM zone
+[Internal] Function to check if any object is in the given SAM zone
The ME name of the HQ object
-MANTIS:New(name, samprefix, ewrprefix, hq, coaltion, dynamic, awacs, EmOnOff)
Function to instantiate a new object of class MANTIS
+MANTIS:OnAfterAdvStateChange(From, Event, To, Oldstate, Newstate, Interval)
On After "AdvStateChange" event.
+On After "GreenState" event.
+On After "RedState" event.
+On After "Relocating" event.
+MANTIS:OnAfterShoradActivated(From, Event, To, Name, Radius, Ontime)
On After "ShoradActivated" event.
(Internal) Function to set the SAM start state
+[Internal] Function to set the SAM start state
Function to set the SAM start state
+Triggers the FSM event "Start".
(Internal) Function to start the detection via AWACS if defined as separate
+[Internal] Function to start the detection via AWACS if defined as separate
(Internal) Function to start the detection via EWR groups
+[Internal] Function to start the detection via EWR groups
Function to stop MANTIS
+Triggers the FSM event "Status".
+[Internal] Function to determine state of the advanced mode
+[Internal] Check detection function
+[Internal] Check advanced state
[internal] Function to get the self.SAM_Table
+[Internal] Function to get the self.SAM_Table
(Internal) Function to update SAM table and SEAD state
+[Internal] Function to update SAM table and SEAD state
+[Internal] Relocation relay function
[internal] Function to set the self.SAM_Table
+[Internal] Function to set the self.SAM_Table
+Triggers the FSM event "Start" after a delay.
+Triggers the FSM event "Status" after a delay.
+Triggers the FSM event "Stop" after a delay.
Name of this Mantis
+MANTIS:onafterAdvStateChange(From, Event, To, Oldstate, Newstate, Interval)
[Internal] Function triggered by Event AdvStateChange
+[Internal] Function triggered by Event GreenState
+[Internal] Function triggered by Event RedState
+[Internal] Function triggered by Event Relocating
+MANTIS:onafterShoradActivated(From, Event, To, Name, Radius, Ontime)
[Internal] Function triggered by Event ShoradActivated
+[Internal] Function to set start state
+[Internal] Status function for MANTIS
+[Internal] Function to stop MANTIS
+[Internal] Before status function for MANTIS
+| Fields and Methods inherited from MANTIS.AdvancedState | +Description | +
|---|---|
| + | + + | +
| + | + + | +
| + | + |
The EWR #SET_GROUP used for advanced mode
The EWR #SET_GROUP used for advanced mode
+The ME name of the HQ object
-Timer in seconds, how long #SHORAD will be active after a detection inside of the defense range
+Name of this Mantis
+ + + +random between 30 and 60 mins
+ +(Internal) Function to check if any object is in the given SAM zone
+[Internal] Function to check if any object is in the given SAM zone
+ Core.Point#COORDINATE samcoordinate
Core.Point#COORDINATE Coordinate object.
+Coordinate object.
On After "AdvStateChange" event.
+ + +Advanced state changed, influencing detection speed.
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ #number + Oldstate +
+Old state - 0 = green, 1 = amber, 2 = red
+ ++ #number + Newstate +
+New state - 0 = green, 1 = amber, 2 = red
+ ++ #number + Interval +
+Calculated detection interval based on state and advanced feature setting
+ +self
+ +On After "GreenState" event.
+ + +A SAM group was switched to GREEN alert.
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ Wrapper.Group#GROUP + Group +
+The GROUP object whose state was changed
+ +self
+ +On After "RedState" event.
+ + +A SAM group was switched to RED alert.
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ Wrapper.Group#GROUP + Group +
+The GROUP object whose state was changed
+ +self
+ +On After "Relocating" event.
+ + +HQ and/or EWR moved.
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +On After "ShoradActivated" event.
+ + +Mantis has activated a SHORAD.
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ #string + Name +
+Name of the GROUP which SHORAD shall protect
+ ++ #number + Radius +
+Radius around the named group to find SHORAD groups
+ ++ #number + Ontime +
+Seconds the SHORAD will stay active
+ +(Internal) Function to set the SAM start state
+[Internal] Function to set the SAM start state
Function to set the SAM start state
+Triggers the FSM event "Start".
+ + +Starts the MANTIS. Initializes parameters and starts event handlers.
MANTIS
self
- -(Internal) Function to start the detection via AWACS if defined as separate
+[Internal] Function to start the detection via AWACS if defined as separate
(Internal) Function to start the detection via EWR groups
+[Internal] Function to start the detection via EWR groups
Function to stop MANTIS
+Triggers the FSM event "Status".
-[Internal] Function to determine state of the advanced mode
-[Internal] Check detection function
+ +MANTIS
++ Functional.Detection#DETECTION_AREAS + detection +
+Detection object
+ +self
+ +[Internal] Check advanced state
+ +[internal] Function to get the self.SAM_Table
+[Internal] Function to get the self.SAM_Table
(Internal) Function to update SAM table and SEAD state
+[Internal] Function to update SAM table and SEAD state
[Internal] Relocation relay function
+ +[internal] Function to set the self.SAM_Table
+[Internal] Function to set the self.SAM_Table
Triggers the FSM event "Start" after a delay.
+ + +Starts the MANTIS. Initializes parameters and starts event handlers.
+ +MANTIS
++ #number + delay +
+Delay in seconds.
+ +Triggers the FSM event "Status" after a delay.
+ +MANTIS
++ #number + delay +
+Delay in seconds.
+ +Triggers the FSM event "Stop" after a delay.
+ + +Stops the MANTIS and all its event handlers.
+ +MANTIS
++ #number + delay +
+Delay in seconds.
+ +[Internal] Function triggered by Event AdvStateChange
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ #number + Oldstate +
+Old state - 0 = green, 1 = amber, 2 = red
+ ++ #number + Newstate +
+New state - 0 = green, 1 = amber, 2 = red
+ ++ #number + Interval +
+Calculated detection interval based on state and advanced feature setting
+ +self
+ +[Internal] Function triggered by Event GreenState
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ Wrapper.Group#GROUP + Group +
+The GROUP object whose state was changed
+ +self
+ +[Internal] Function triggered by Event RedState
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ Wrapper.Group#GROUP + Group +
+The GROUP object whose state was changed
+ +self
+ +[Internal] Function triggered by Event Relocating
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +[Internal] Function triggered by Event ShoradActivated
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ ++ #string + Name +
+Name of the GROUP which SHORAD shall protect
+ ++ #number + Radius +
+Radius around the named group to find SHORAD groups
+ ++ #number + Ontime +
+Seconds the SHORAD will stay active
+ +[Internal] Function to set start state
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +[Internal] Status function for MANTIS
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +[Internal] Function to stop MANTIS
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +[Internal] Before status function for MANTIS
+ +MANTIS
++ #string + From +
+The From State
+ ++ #string + Event +
+The Event
+ ++ #string + To +
+The To State
+ +self
+ +The EWR #SET_GROUP used for advanced mode
The EWR #SET_GROUP used for advanced mode
+The ME name of the HQ object
-Timer in seconds, how long #SHORAD will be active after a detection inside of the defense range
+Name of this Mantis
+ + + +random between 30 and 60 mins
+ +Advanced state enumerator
+ +Set current case.
+Set case to that of lead.
@@ -38201,6 +38201,20 @@ BASE:TraceOnOff( false ) + +Decrease stack/flag. Human player needs to take care himself.
+ +Set time stamp.
+CSAR:SpawnCSARAtZone(Zone, Coalition, Description, RandomPoint, Nomessage)
Function to add a CSAR object into the scene at a zone coordinate.
(Internal) Function to spawn a CSAR object into the scene.
CSAR:_SpawnCsarAtZone(_zone, _coalition, _description, _randomPoint, _nomessage)
(Internal) Function to add a CSAR object into the scene at a zone coordinate.
GROUP_SET of all helis
-counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- -Function to add a CSAR object into the scene at a zone coordinate.
@@ -4769,13 +4738,52 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau(optional) If true, don't send a message to SAR.
++ #string + Unitname +
+(optional) Name of the lost unit.
+ ++ #string + Typename +
+(optional) Type of plane.
+ ++ #boolean + Forcedesc +
+(optional) Force to use the description passed only for the pilot track entry. Use to have fully custom names.
+If missions designers want to spawn downed pilots into the field, e.g. at mission begin, to give the helicopter guys works, they can do this like so:
+ If missions designers want to spawn downed pilots into the field, e.g. at mission begin, to give the helicopter guys work, they can do this like so:
-- Create downed "Pilot Wagner" in #ZONE "CSAR_Start_1" at a random point for the blue coalition
- my_csar:SpawnCSARAtZone( "CSAR_Start_1", coalition.side.BLUE, "Pilot Wagner", true )
+ my_csar:SpawnCSARAtZone( "CSAR_Start_1", coalition.side.BLUE, "Wagner", true, false, "Charly-1-1", "F5E" )
(Internal) Function to spawn a CSAR object into the scene.
@@ -4997,6 +5005,19 @@ When Moose is loaded statically, (as one file), tracing is switched off by defauDescription
++ #boolean + forcedesc +
+Use the description only for the pilot track entry
+or nil
+The unit or nil
(Internal) Function to add a CSAR object into the scene at a zone coordinate.
@@ -6772,6 +6793,45 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau(optional) If true, don't send a message to SAR.
++ #string + unitname +
+(optional) Name of the lost unit.
+ ++ #string + typename +
+(optional) Type of plane.
+ ++ #boolean + forcedesc +
+(optional) Force to use the description passed only for the pilot track entry. Use to have fully custom names.
+GROUP_SET of all helis
-counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- -GROUP_SET of all helis
-counter for saved pilots
- -counter for successful rescue landings at FARP/AFB/MASH
- - my_ctld.enableHercules = true
my_ctld.HercMinAngels = 155 -- for troop/cargo drop via chute in meters, ca 470 ft
my_ctld.HercMaxAngels = 2000 -- for troop/cargo drop via chute in meters, ca 6000 ft
+ my_ctld.HercMaxSpeed = 77 -- 77mps or 270 kph or 150 kn
Also, the following options need to be set to true:
(Internal) Function to see if a unit is in a specific zone type.
-(Internal) Function to generate valid FM Frequencies
Beacon info as #CTLD.ZoneBeacon
+| Fields and Methods inherited from CTLD.CargoZoneType | +Description | +
|---|---|
| + | + + | +
| + | + + | +
| + | + |
Zone Type Info.
+Beacons
+280 kph or 150kn eq 77 mps
+ +(Internal) Function to generate valid FM Frequencies
@@ -7398,28 +7415,6 @@ When Moose is loaded statically, (as one file), tracing is switched off by defauCTLD
- #CTLD - sel -
-- self -
-Beacons
+280 kph or 150kn eq 77 mps
+ +Beacons
+280 kph or 150kn eq 77 mps
+ +Beacon info as #CTLD.ZoneBeacon
+Zone Type Info.
+ +Get the time difference between GMT and local time.
+Function to generate valid FM frequencies in mHz for radio beacons (FM).
+Function to generate valid laser codes for JTAC.
+Function to generate valid UHF Frequencies in mHz (AM).
+Function to generate valid VHF frequencies in kHz for radio beacons (FM).
Function to generate valid FM frequencies in mHz for radio beacons (FM).
+ +UTILS
+#table:
+Table of frequencies.
+ +Function to generate valid laser codes for JTAC.
+ +UTILS
+#table:
+Laser Codes.
+ +Function to generate valid UHF Frequencies in mHz (AM).
+ +UTILS
+#table:
+UHF Frequencies
+ +Function to generate valid VHF frequencies in kHz for radio beacons (FM).
+ +UTILS
+#table:
+VHFrequencies
+ +Alive2.
+Alive.
@@ -5328,7 +5328,7 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau -Alive2.
+Alive.
@@ -7518,7 +7518,7 @@ If the Unit is alive but not active, false is returned. -Alive2.
+Alive.
@@ -16066,7 +16066,7 @@ Note that when the WayPoint parameter is used, the new start mission waypoint of -Alive2.
+Alive.
@@ -19550,7 +19550,7 @@ Coordinates are dependent on the position of the maps origin. -Alive2.
+Alive.
@@ -20224,7 +20224,7 @@ If the Identifiable is alive, true is returned. -Alive2.
+Alive.
@@ -20504,7 +20504,7 @@ If the Identifiable is alive, true is returned. -Alive2.
+Alive.
diff --git a/Documentation/Wrapper.Group.html b/Documentation/Wrapper.Group.html index 32fd156a3..4963adf98 100644 --- a/Documentation/Wrapper.Group.html +++ b/Documentation/Wrapper.Group.html @@ -4740,7 +4740,18 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + +