mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
** ARMYGROUP** - Added suppression option **COMMANDER** - Added function to add targets with defined resources **OPSGROUP** - Added option to pause multiple missions **INTEL** - Fixed bug in cluster calc **LEGION** - Added function to get alive opsgroups **TARGET** * Added start condition
This commit is contained in:
@@ -2529,6 +2529,21 @@ function AUFTRAG:GetRequiredAssets(Legion)
|
||||
return Nmin, Nmax
|
||||
end
|
||||
|
||||
--- **[LEGION, COMMANDER, CHIEF]** Set that only alive (spawned) assets are considered.
|
||||
-- @param #AUFTRAG self
|
||||
-- @param #boolean Switch If true or nil, only active assets. If false
|
||||
-- @return #AUFTRAG self
|
||||
function AUFTRAG:SetAssetsStayAlive(Switch)
|
||||
|
||||
if Switch==nil then
|
||||
Switch=true
|
||||
end
|
||||
|
||||
self.assetStayAlive=Switch
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
--- **[LEGION, COMMANDER, CHIEF]** Define how many assets are required that escort the mission assets.
|
||||
-- Only used if the mission is handled by a **LEGION** (AIRWING, BRIGADE, FLEET) or higher level.
|
||||
-- @param #AUFTRAG self
|
||||
|
||||
Reference in New Issue
Block a user