LinePick entityx(player ), entityy(player ) + 10 , entityz( player ), 0,-100,0
If PickedNy < .25 then
{ this is a pretty steep slope }
endif
You don't need atan2 etc.. that's just overkill. Just use the pickedny() .. you'll need to play with the .25 value but 1 = flat , 0 = vertical.
Stevie
If PickedNy < .25 then
{ this is a pretty steep slope }
endif
You don't need atan2 etc.. that's just overkill. Just use the pickedny() .. you'll need to play with the .25 value but 1 = flat , 0 = vertical.
Stevie