Thanks, but sorry. It doesn`t work for me. I tried all variants (x,y,z) of vec_sub and vec_dist. ENTITY doesn`t change angle when it reaches STATE 7.
reldist moving has to be by z axxis, else ENTITY moves anywhere

But I would like to use absdist by y axxis, because I want to rotate ENTITY while it moves.
Last thing - if(vec_dist) statement doesn`t work. ENTITY should move to y=800, but moves futher.
I am a little bit confused that ent_move has been replaced by c_move in lite-C. c_move doesn`t do the same. I suppose ent_move would have been easier.
Moving an entity from any position to a fixed one should be a real basic function like:
c_move_distance(ENTITY,vector(destination),vector(target), collision mode);
But it`s as difficult. I am despairing

Hilfe ich bin echt am verzweifeln

Ditje