Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
DP QC GETSURFACE
From Quake Wiki
Builtin definitions:
float(entity e, float s) getsurfacenumpoints = #434; vector(entity e, float s, float n) getsurfacepoint = #435; vector(entity e, float s) getsurfacenormal = #436; string(entity e, float s) getsurfacetexture = #437; float(entity e, vector p) getsurfacenearpoint = #438; vector(entity e, float s, vector p) getsurfaceclippedpoint = #439;
Functions to query surface information.