local vector x, y, z, EndTrace, StartTrace, HitLocation, HitNormal;
local int Distance;
local actor A;
Distance = 200;
GetAxes(ThePlayer.ViewRotation, X, Y, Z);
StartTrace = ThePlayer.Location + CalcDrawOffset();
EndTrace= Start + vector(ThePlayer.ViewRotation) * Distance;
A = Trace(HitLocation, HitNormal, EndTrace, StartTrace);
if(A == None)
Spawn(class'YourClass',,,HitLocation);