local oldUAA2102 = UAA2102
UAA2102 = Class(oldUAA2102) {
speed_at_death = nil,
OnKilled = function(self, instigator, type, overkillRatio)
Forkthread(function(
self.speed_at_death = self:GetVelocity()
while not self.speed_at_death[2] == 0 and self:GetPosition()[2] > GetSurfaceHeight(self:GetPosition()[1],self:GetPosition()[3])do
WaitSeconds(0.2)
self.speed_at_death = self:GetVelocity()
end
end
AirUnit.OnKilled(self, instigator, type, overkillRatio)
end,
TypeClass = UAA2102
}
YourUnit.speed_at_death
Statistics: Posted by CookieNoob — 17 Jun 2017, 08:05
Statistics: Posted by nine2 — 17 Jun 2017, 04:03
Statistics: Posted by Luxor144 — 17 Jun 2017, 02:26