A_JumpIfFloorDifferent

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A_JumpIfFloorDifferent

Re: A_JumpIfFloorDifferent

by Graf Zahl » Thu May 29, 2008 1:01 am

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.

A_JumpIfFloorDifferent

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.

Top