Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Pointcontents

From Quake Wiki

Function: pointcontents[edit]

 float pointcontents(vector pos) 

Returns the contents of the area situated at position pos. Used to know if an area is in water, in slime or in lava. Makes use of the BSP tree, and is supposed to be very fast.