Convert This To B3D,Plz

BlitzMax Forums/BlitzMax Programming/Convert This To B3D,Plz

Plz convert this, i need it for my program


y = terrainy( terrain, entityx(player), entityz(player))
tformpoint 0,0,steplength, player, 0
dy = terrainy( terrain, entityx(player)+tformedx(), entityz(player)+tformedz() ) ; height after the next step
if abs(y-dy) > maxStepHeight
; do not allow the step
endif

That is B3D code, isn't it?

.. Possibly blitzmax minib3d code, looks like it would work with b3d just how it is, except for the fact you have given us partial code to look at. Is terrainy a standard function? please post more info and code so we can help you out.

Um, it's already Blitz3D code, considering it's using ;s for comments.

oh, ok,something must be wrong with it then..
txs