From ZDoom Wiki
Jump to: navigation, search

str GetActorFloorTerrain (int tid)


Retrieves the floor's terrain name of the sector in which the actor with the matching TID is. If tid is 0, the function is run on the activator of the script.

Return value

The function returns the floor's terrain name as a string. If no actor with a matching TID is found, the return value is an empty string.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.