mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
7f0376561b
@ -1777,8 +1777,6 @@ function CONTROLLABLE:TaskFAC_AttackGroup( AttackGroup, WeaponType, Designation,
|
|||||||
return DCSTask
|
return DCSTask
|
||||||
end
|
end
|
||||||
|
|
||||||
-- EN-ACT_ROUTE TASKS FOR AIRBORNE CONTROLLABLES
|
|
||||||
|
|
||||||
--- (AIR) Engaging targets of defined types.
|
--- (AIR) Engaging targets of defined types.
|
||||||
-- @param #CONTROLLABLE self
|
-- @param #CONTROLLABLE self
|
||||||
-- @param DCS#Distance Distance Maximal distance from the target to a route leg. If the target is on a greater distance it will be ignored.
|
-- @param DCS#Distance Distance Maximal distance from the target to a route leg. If the target is on a greater distance it will be ignored.
|
||||||
@ -5735,6 +5733,14 @@ function CONTROLLABLE:DisableIRMarkerForGroup()
|
|||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- [GROUND] Check if an IR Spot exists.
|
||||||
|
-- @param #CONTROLLABLE self
|
||||||
|
-- @return #boolean outcome
|
||||||
|
function CONTROLLABLE:HasIRMarker()
|
||||||
|
if self.spot then return true end
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
--- [Internal] This method is called by the scheduler after enabling the IR marker.
|
--- [Internal] This method is called by the scheduler after enabling the IR marker.
|
||||||
-- @param #CONTROLLABLE self
|
-- @param #CONTROLLABLE self
|
||||||
-- @return #CONTROLLABLE self
|
-- @return #CONTROLLABLE self
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user