by XutaWoo » Wed May 28, 2008 4:46 pm
Code: Select all
A_JumpIfFloatDifferent (direction, difference, offset)
A_JumpIfFloatDifferent (direction, difference, state)
Essentially, jumps to the offset/state if the actor is moving onto a floor lower than it's maxdropoffheight (direction 0) or higher than it's maxstepheight (direction 1.)
For monsters that jump up to floors a bit too high for them to step onto or too low for them to fall on them.
[code]A_JumpIfFloatDifferent (direction, difference, offset)
A_JumpIfFloatDifferent (direction, difference, state)[/code]
Essentially, jumps to the offset/state if the actor is moving onto a floor lower than it's maxdropoffheight (direction 0) or higher than it's maxstepheight (direction 1.)
For monsters that jump up to floors a bit too high for them to step onto or too low for them to fall on them.