You could use the the viewkick function used when shooting (in 
baseweapon I think). If you put that somewhere in TakeDamage then all 
should be fine. TakeDamage also has damageinfo so you can make the kick 
damage relative.

Regards

Willem

Scott Robson wrote:
> Hi,
> 
> I am trying to make the players' crosshair jerk up quickly and return to the 
> origin within a certain timeframe. I also want the amount of damage you take 
> to affect how much the player jerks up. This is so the player can't just 
> 'stand and deliver' it gets boring. Can anyone help?
> 
> Cheers,
> 
> Scott.
> _________________________________________________________________
> Choose the perfect PC or mobile phone for you
> http://clk.atdmt.com/UKM/go/130777504/direct/01/
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to