From Eternity Wiki
Jump to navigationJump to search


This is an ACS built-in function.

Checks if the tagged thing is on a floor with the given texture.


boolean CheckActorFloorTexture(int tid, str texture)


  • tid: TID of thing to check
  • texture: name of floor texture to check

Return value[edit]

TRUE if the floor texture of the sector the thing is in matches texture


int activatorOnBloodyRocks = CheckActorFloorTexture(0, "FLOOR6_1");


The checked sector is the one on which the center point of the thing stays. If a gravity-bound thing is resting on a side step but its center point is above another sector, it's this latter sector which will be checked, not the step sector.

This function's identification in zspecial.acs is: (ACC internal).

See also[edit]