I put the Following code in the ScoreKill Function:
/* Begin Code */
for (Inv = Killer.Inventory; Inv != None; Inv = Inv.Inventory)
{
if ( Inv.IsA('SpeedWeapon') )
if (SpeedWeapon(Inv).SpeedScale >= 30
{
SpeedWeapon(Inv).SpeedScale = 30;
}
else
{
SpeedWeapon(Inv).SpeedScale += 0.1;
}
}
/* End Code */
And when speedscale is > for 30 it's steel Speed UP the weapon fire. What is the problem?
/* Begin Code */
for (Inv = Killer.Inventory; Inv != None; Inv = Inv.Inventory)
{
if ( Inv.IsA('SpeedWeapon') )
if (SpeedWeapon(Inv).SpeedScale >= 30
{
SpeedWeapon(Inv).SpeedScale = 30;
}
else
{
SpeedWeapon(Inv).SpeedScale += 0.1;
}
}
/* End Code */
And when speedscale is > for 30 it's steel Speed UP the weapon fire. What is the problem?