Iffloordistl: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
see ifceilingdistl
Line 1: Line 1:
'''iffloordistl''' <number>
'''iffloordistl''' <number>


Checks if the current [[actor]] is less than <number> shifted left 8 units away from the [[actor]]'s [[sector]]'s floor. If the actor is "inside" the floor it will return negative values.
Checks if the current [[actor]] is less than <number> shifted left 8 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.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]

Revision as of 09:22, 4 September 2011

iffloordistl <number>

Checks if the current actor is less than <number> shifted left 8 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.