Iffloordistl - EDukeWiki

# Iffloordistl

From EDukeWiki

iffloordistl <number>

Checks if the current actor is less than 256*<number> z units away from the actor's sector's floor. That is, one <number> unit corresponds to 16 x/y BUILD units. If the actor is "inside" the floor it will return negative values, i.e. the condition is true.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Iffloordistl&oldid=11446"
Categories:

- Duke3D 1.3/1.5 commands
- Sprite manipulation
- Sector manipulation
- If conditions