Raised This Month: $ Target: $400
 0% 

ham_takedamage or ham_traceattack?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 11-26-2011 , 09:58   Re: ham_takedamage or ham_traceattack?
Reply With Quote #5

Ham_TraceAttack is the traceline of the attack/bullet/damage whatever, you can use it with entities or even with worldspawn to detect bullets hitting walls, use this if you need something complicated like seeing if the shot was near a something else... this would be excelent for exploding ammo =)

If you just want to check when someone was damaged by something/someone, use Ham_TakeDamage.
__________________

Last edited by Hunter-Digital; 11-26-2011 at 10:00.
Hunter-Digital is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode