hey Fogman, long time since our last talk.

you could use the delphi routines I wrote in Delphi SDK that do just that:

procedure Debug_C_Scan(Entity : PEntity; Angle : PAngle; Scan : PVector);
procedure Debug_DrawLine_ToFront(Entity : PEntity; Dist : Var_);
procedure Debug_DrawBoundBox(Entity : PEntity);
procedure Debug_DrawTriggerRange(Entity : PEntity);

for the Debug_C_Scan it's called right after a c_scan with the same paramerters to graphically display the range of the c_scan operation

used like this:

if ShowDebug = 1 then
Debug_C_Scan(ev.me,@ev.me.pan,_vec(15,15,125));

I will update the SDK Homepage to have the actual DLL's there so non-delphi users can use them too. I will update the page this weekend.


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010