CheckActorCeilingTexture
		
		
		
		Jump to navigation
		Jump to search
		
bool CheckActorCeilingTexture (int tid, str texture)
Usage
Returns true if the ceiling 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. For animated textures you only need to check for the base texture.
Parameters
Return value
Returns true if the ceiling texture of the sector the calling actor is in matches the name in the string of the ACS function, false otherwise.
Examples
This script simply checks to see if the ceiling texture is using the “F_SKY1” texture and prints a message accordingly.
if (CheckActorCeilingTexture(0, "F_SKY1")) print (s:"You're outside!"); else print (s:"You're inside!");