Ok Im probably an idiot but.
I have a weapon, and the alt-fire is defined to swing the weapon instead of fire it.
This works great if I click the button once and let it play out.
If I hold the button down, though, the animation won't play over and over again. In fact, the animation won't play at all.
The only difference between the swinging of the weapon and the firing of the weapon, is right here:
And in defaults:
Anyone got any ideas? The actual "firing" gets done because the bots are taking damage (when I hold it down that is). It's just the silly animation.
I have a weapon, and the alt-fire is defined to swing the weapon instead of fire it.
This works great if I click the button once and let it play out.
If I hold the button down, though, the animation won't play over and over again. In fact, the animation won't play at all.
The only difference between the swinging of the weapon and the firing of the weapon, is right here:
Code:
function PlayFiring() { if ( Weapon.Mesh != None ) { Weapon.PlayAnim('Swing', FireAnimRate, TweenTime); } Weapon.PlayOwnedSound(FireSound,SLOT_Interact,TransientSoundVolume,,TransientSoundRadius,Default.FireAnimRate/FireAnimRate,false); ClientPlayForceFeedback(FireForce); // jdf FireCount++; }
Code:
FireRate=2.000000 TweenTime=0.0500 FireAnimRate=1.0000
Comment