commit
d47007722a
|
@ -390,6 +390,7 @@ heliRide( lifeId, chopper )
|
||||||
chopper VehicleTurretControlOn( self );
|
chopper VehicleTurretControlOn( self );
|
||||||
|
|
||||||
self PlayerLinkWeaponviewToDelta( chopper, "tag_player", 1.0, 180, 180, 0, 180, true );
|
self PlayerLinkWeaponviewToDelta( chopper, "tag_player", 1.0, 180, 180, 0, 180, true );
|
||||||
|
self setPlayerAngles( level.ac130 getTagAngles( "tag_player" ) );
|
||||||
|
|
||||||
chopper.gunner = self;
|
chopper.gunner = self;
|
||||||
|
|
||||||
|
@ -1369,6 +1370,20 @@ heli_explode( altStyle )
|
||||||
|
|
||||||
// give "death" notify time to process
|
// give "death" notify time to process
|
||||||
wait ( 0.05 );
|
wait ( 0.05 );
|
||||||
|
// g_getplayervieworigin fix
|
||||||
|
// we hide this helicopter then delete it
|
||||||
|
|
||||||
|
if (self.heliType == "minigun")
|
||||||
|
{
|
||||||
|
if (isDefined(self))
|
||||||
|
self hide();
|
||||||
|
|
||||||
|
wait 30;
|
||||||
|
|
||||||
|
if (isDefined(self))
|
||||||
|
self delete();
|
||||||
|
}
|
||||||
|
else
|
||||||
self delete();
|
self delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2043,6 +2058,15 @@ heli_leave()
|
||||||
|
|
||||||
// give "death" notify time to process
|
// give "death" notify time to process
|
||||||
wait ( 0.05 );
|
wait ( 0.05 );
|
||||||
|
|
||||||
|
// g_getplayervieworigin fix
|
||||||
|
// we hide this helicopter then delete it
|
||||||
|
if (isDefined(self))
|
||||||
|
self hide();
|
||||||
|
|
||||||
|
wait 30;
|
||||||
|
|
||||||
|
if (isDefined(self))
|
||||||
self delete();
|
self delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue