Page 1 of 1

A_JumpIfFloorDifferent

Posted: Wed May 28, 2008 4:46 pm
by XutaWoo

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.

Re: A_JumpIfFloorDifferent

Posted: Thu May 29, 2008 1:01 am
by Graf Zahl
Can't be done in DECORATE. Furthermore, such moves are disallowed by the physics code so the situation will never happen to monsters that check these variables unless some sector's height changes below them.