mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge pull request #1508 from FlightControl-Master/Applevangelist-patch-2
Update Group.lua
This commit is contained in:
commit
0fc91595b8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user