FOX Missile Trainer

FOX v0.5.0
- Added new missile trainer.
RANGE v2.1.1
- Fixed bugs.
WAREHOUSE v0.9.0
- Added events AssetSpawned and AssetLowFuel
- Improved Arrived function.
This commit is contained in:
Frank
2019-05-26 12:15:21 +02:00
parent fbd0e9839d
commit e141823556
10 changed files with 2398 additions and 636 deletions

View File

@@ -655,7 +655,7 @@ end
--- Count number of alive units in the group.
-- @param #GROUP self
-- @return #number Number of alive units
-- @return #number Number of alive units. If DCS group is nil, 0 is returned.
function GROUP:CountAliveUnits()
self:F3( { self.GroupName } )
local DCSGroup = self:GetDCSObject()
@@ -672,7 +672,7 @@ function GROUP:CountAliveUnits()
return n
end
return nil
return 0
end
--- Get the first unit of the group which is alive.