I did that and PickedNY has no value assigned to it. And I did assign entitypickmode 2 to my terrain.
In my Code I have "my_angle" as a global # to capture the value so I could see the proposed angle of the terrain vert, and why it was not working. And my "my_angle" variable shows no value for PickedNY:
your code:
LinePick EntityX(player ), EntityY(player ) + 10 , EntityZ( player ), 0,-100,0
my_angle=PickedNY
If PickedNY < .25
;the .25 value but 1 = flat , 0 = vertical
EndIf
In my Code I have "my_angle" as a global # to capture the value so I could see the proposed angle of the terrain vert, and why it was not working. And my "my_angle" variable shows no value for PickedNY:
your code:
LinePick EntityX(player ), EntityY(player ) + 10 , EntityZ( player ), 0,-100,0
my_angle=PickedNY
If PickedNY < .25
;the .25 value but 1 = flat , 0 = vertical
EndIf