Update Group.lua

This commit is contained in:
Applevangelist
2021-04-20 17:27:48 +02:00
committed by GitHub
parent 869b819a4f
commit 18fca6461b

View File

@@ -2551,6 +2551,23 @@ do -- Players
end
--- GROUND - Switch on/off radar emissions
-- @param #GROUP self
-- @param #boolean switch
function GROUP:EnableEmission(switch)
self:F2( self.GroupName )
local switch = switch or false
local DCSUnit = self:GetDCSObject()
if DCSUnit then
DCSUnit:enableEmission(switch)
end
end
--do -- Smoke
--
----- Signal a flare at the position of the GROUP.
@@ -2641,4 +2658,4 @@ end
--
--
--
--end
--end