|Description:||Returns the surface type for a given position. |
The surface evaluated is the lowest possible at that position, so even when inside a building, "#GrassGeneral" might be returned, or, if in water, it might be "#SandGeneral".
The possible surface types depend on what is defined for the current map. Specific maps can have unique surfaces that do not exist anywhere else (for example, "#map_afghangeotypical25km_rockslope"). The list of possible surfaces is defined in CfgSurfaces.
_surface = surfaceType (getPos player)
|See also:||CfgSurfaces, isOnRoad, surfaceIsWater, underlyingSurface|