You are looking at the wrong variable change "sy" to PickedY() like this:
I think... should work... anyone else care to pundit?
If PickedEntity()<>0 If PickedY() < = dist_above_ground Then PositionEntity ship,sx,PickedY()+dist_above_track,sz AlignToVector ship,PickedNX(),PickedNY(),PickedNZ(),2,0.5 EndIf EndIf
I think... should work... anyone else care to pundit?