Raised This Month: $ Target: $400
 0% 

Using trace_line


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 10-27-2005 , 17:00  
Reply With Quote #8

Quote:
Originally Posted by XxAvalanchexX
pHit would probably be 0, and I assume that flFraction would be 1.0
no it would be -1, even though proly should be 0 as 0 is world in HL engine

Code:
case TR_Hit:         if (!FNullEnt(g_tr.pHit))             return ENTINDEX(g_tr.pHit);         else             return -1;
and yes use avalanches way as it sets the var to return value by the native.
Freecode 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 23:40.


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