GetSectorCeilingZ
From ZDoom Wiki
int GetSectorCeilingZ (int tag, int x, int y);
Usage
This returns the sector ceiling height at coordinates [x, y].
Parameters
- tag
- Tag of the sector.
- x, y
- Coordinates of the point (not fixed point value!).
Return value
Returns the sector ceiling height at coordinates [x, y] as a fixed point value. When used on sectors which share tags, it will return the ceiling height of the sector with the lowest sector number and the matching tag. If the sector is flat, this will just return the ceiling height no matter where the coordinates are specified, so [0, 0] is as good as anywhere.
Examples
| 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. |

