Dark[NSF]
30th May 2004, 02:49 PM
Any idea why I might be having muzzle flash and loosing a bullet round when using zoom?
Here is my consume ammo function (also, if I have that one line uncommented it wont reduce the clip count :(
//Reduce ClipCount every time a bullet is fired. [CONVERSION]
simulated function bool ConsumeAmmo(int Mode, float load, optional bool bAmountNeededIsMax)
{
if( (ClipCount > 0) )
{
//if(Ammo[mode].UseAmmo(int(load), bAmountNeededIsMax)&&load>0)
ClipCount--;
}
return true;
}
It also might help to know this seems like a conversion problem, as it has only occured in UT2004.
Here is my consume ammo function (also, if I have that one line uncommented it wont reduce the clip count :(
//Reduce ClipCount every time a bullet is fired. [CONVERSION]
simulated function bool ConsumeAmmo(int Mode, float load, optional bool bAmountNeededIsMax)
{
if( (ClipCount > 0) )
{
//if(Ammo[mode].UseAmmo(int(load), bAmountNeededIsMax)&&load>0)
ClipCount--;
}
return true;
}
It also might help to know this seems like a conversion problem, as it has only occured in UT2004.