AIRBOSS v0.6.0

This commit is contained in:
Frank
2018-12-22 09:27:51 +01:00
parent 34603d69ab
commit 6f2de65b64
5 changed files with 113 additions and 88 deletions

View File

@@ -782,7 +782,7 @@ function RESCUEHELO:onafterStart(From, Event, To)
local dist=UTILS.NMToMeters(0.2)
-- Coordinate behind the carrier. Altitude at least 100 meters for spawning because it drops down a bit.
local Carrier=self.carrier:GetCoordinate():SetAltitude(math.max(140, self.altitude)):Translate(dist, hdg)
local Carrier=self.carrier:GetCoordinate():Translate(dist, hdg):SetAltitude(math.max(140, self.altitude))
-- Orientation of spawned group.
Spawn:InitHeading(hdg)