diff --git a/Documentation/AI.AI_A2A_Dispatcher.html b/Documentation/AI.AI_A2A_Dispatcher.html index ffca7ef07..889e61ab1 100644 --- a/Documentation/AI.AI_A2A_Dispatcher.html +++ b/Documentation/AI.AI_A2A_Dispatcher.html @@ -5034,14 +5034,11 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau
Flash messages to player
-Flash messages to player
-Flash messages to player
-Flash messages to player
-flash messages to players
+flash messages to players
+flash messages to players
+flash messages to players
+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.
+ + + +Set destination airbase for next :Route() command.
+ +Aircraft is on a depoly mission.
+Set destination airbase for next :Route() command.
+ +Aircraft is on a depoly mission.
+Set destination airbase for next :Route() command.
+ +Aircraft is on a depoly mission.
+Set destination airbase for next :Route() command.
+ +Aircraft is on a depoly mission.
+meter
+kph
+meter
+kph
+meter
+kph
+meter
+kph
+self.CargoObject:Destroy()
+ +Then we register the new group in the database
+Now we spawn the new group based on the template created.
+Set cargo object.
+Set cargo object.
+SPAWN:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)
The AI is on by default when spawning a group.
-Overwrite unit names by default with group name.
+ @@ -4262,6 +4290,17 @@ When Moose is loaded statically, (as one file), tracing is switched off by defau + + + +self:T2( { self.SpawnTemplatePrefix, Vec2} )
+ + + +The AI is on by default when spawning a group.
-Spawns a new static using a given template.
-Kickspeed
- @@ -4693,9 +4690,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 04ca01dd8..5362c47f3 100644 --- a/Documentation/Functional.Designate.html +++ b/Documentation/Functional.Designate.html @@ -2690,17 +2690,6 @@ Use the method DESIGNATE.SetMission() to - - - -Function to get the HQ object for further use
+Table of Core.Zone#ZONE Zones Consider SAM groups in this zone(s) only for this MANTIS instance, must be handed as #table of Zone objects.
+ + + +The ME name of the HQ object
- - - -Prefix for logging
-switch alarm state RED
+self.SAMCheckRanges = {}
-Table of Core.Zone#ZONE Zones Consider SAM groups in this zone(s) only for this MANTIS instance, must be handed as #table of Zone objects.
+The ME name of the HQ object
- - - -Prefix for logging
-switch alarm state RED
+self.SAMCheckRanges = {}
-Type of terminal to be used when spawning at an airbase.
-RAT:_TranslateRotate(SpawnIndex, SpawnRootX, SpawnRootY, SpawnX, SpawnY, SpawnAngle)
Type of terminal to be used when spawning at an airbase.
- - - -Type of terminal to be used when spawning at an airbase.
- - - -Set case to that of lead.
+Set stack flag.
+ +Set Stable Hover
-Set time stamp.
+table of CSAR unit names
+counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +table of CSAR unit names
+counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +table of CSAR unit names
+counter for saved pilots
+ +counter for successful rescue landings at FARP/AFB/MASH
+ +set to false to suppress flash messages
+set to false to suppress flash messages
+set to false to suppress flash messages
+set to false to suppress flash messages
+GROUP:GetCustomCallSign(ShortCallsign, Keepnumber, CallsignTranslations)
GROUP:GetCustomCallSign(ShortCallsign, Keepnumber, CallsignTranslations, CustomFunction, ...)
Get TTS friendly, optionally customized callsign mainly for player groups.
Get TTS friendly, optionally customized callsign mainly for player groups.
+ +A customized callsign is taken from the #GROUP name, after an optional '#' sign, e.g. "Aerial 1-1#Ghostrider" resulting in "Ghostrider 9", or, +if that isn't available, from the playername, as set in the mission editor main screen under Logbook, after an optional '|' sign (actually, more of a personal call sign), e.g. "Apple|Moose" results in "Moose 9 1". Options see below.
+ #boolean ShortCallsign
Return a shortened customized callsign, i.e. "Ghostrider 9" and not "Ghostrider 9 1"
++ #boolean Keepnumber
(Player only) Return customized callsign, incl optional numbers at the end, e.g. "Aerial 1-1#Ghostrider 109" results in "Ghostrider 109", if you want to e.g. use historical US Navy Callsigns
++ #table CallsignTranslations
(Optional) Table to translate between DCS standard callsigns and bespoke ones. Overrides personal/parsed callsigns if set +callsigns from playername or group name.
++ #func + CustomFunction +
+(Optional) For player names only(!). If given, this function will return the callsign. Needs to take the groupname and the playername as first arguments.
+ ++ #arg + ... +
+(Optional) Comma separated arguments to add to the CustomFunction call after groupname and playername.
+ +#string:
+Callsign
+ + -- suppose there are three groups with one (client) unit each:
+ -- Slot 1 -- with mission editor callsign Enfield-1
+ -- Slot 2 # Apollo 403 -- with mission editor callsign Enfield-2
+ -- Slot 3 | Apollo -- with mission editor callsign Enfield-3
+ -- Slot 4 | Apollo -- with mission editor callsign Devil-4
+ -- and suppose these Custom CAP Flight Callsigns for use with TTS are set
+ mygroup:GetCustomCallSign(true,false,{
+ Devil = 'Bengal',
+ Snake = 'Winder',
+ Colt = 'Camelot',
+ Enfield = 'Victory',
+ Uzi = 'Evil Eye'
+ })
+ -- then GetCustomCallsign will return
+ -- Enfield-1 for Slot 1
+ -- Apollo for Slot 2 or Apollo 403 if Keepnumber is set
+ -- Apollo for Slot 3
+ -- Bengal-4 for Slot 4
+
+ -- Using a custom function (for player units **only**):
+ -- Imagine your playernames are looking like so: "[Squadname] | Cpt Apple" and you only want to have the last word as callsign, i.e. "Apple" here. Then this custom function will return this:
+ local callsign = mygroup:GetCustomCallSign(true,false,nil,function(groupname,playername) return string.match(playername,"([%a]+)$") end)
+
+