A_JumpIfFloorDifferent

Moderator: GZDoom Developers

Post Reply
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

A_JumpIfFloorDifferent

Post 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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_JumpIfFloorDifferent

Post 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.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”