Thread: Some questions
View Single Post
Re: Some questions
Old
  (#2)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: Some questions - 23-12-2004

UTIL_TraceLine is used so we can catch the function call to it; in util.cpp you will see a UTIL_TraceLine function, you can grab stuff in there if you want, the UTIL_TraceLine function calls the engine traceline function whcih is equivalent to the TRACELINE you are talking about.

If you want to do a traceline by simply calling the engine function with no questions asked, use the TRACELINE macro.

the same goes for the TraceHull, there are several more examples of these besides TraceHull and TraceLine
  
Reply With Quote