Ifceilingdistl

From EDukeWiki
Revision as of 10:21, 6 January 2013 by Helixhorned (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ifceilingdistl <number>

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