CheckActorFloorTexture
From ZDoom Wiki
int CheckActorFloorTexture (int tid, str texture)
Usage
Returns true if the floor texture of the sector the calling actor is in matches the name in the string of the ACS function. If tid is 0, it uses the activator.
Examples
This script simply checks to see if the floor texture is grass and prints a message accordingly.
if (CheckActorFloorTexture(0, "GRASS1"))
print (s:"You're on grass!");
else
print (s:"You're not on grass.!");

