Ok, so it a motion you want, well if you want to do that you first need to decide what speed it's going to travel at say a speed value of 1 in the x and z axis, when it is moveing using the moveentity command you need to do two checks one on the x axis and one on the y. the x axis check may look something like this:
if entityx(tank1)=10 then moveentity tank1,SpX#*0,SpY#,SpZ#
and z simular:
if entityz(tank1)=0 then moveentity tank1,SpX#,SpY#,SpZ#*0
REmember though as you stated above you wanted the mesh to move from 50,0,10 to 10,0,0 so the the SpX# and SpZ# will look like this: (placed outside the loop)
Spx#=1
Spz#=1
and in the loop the moveentity command will go below the checks and look something like this:
moveentity tank1,-SpX#,SpY#,-Spz#
it has the "-" sign because you are wanting the entity to move to a distance behind it (as you pobably already noticed).
Hope this makes sense.
if it doesn't the just say and i'll try and pogram something for you. And before i go there is two ways which you can do this movement either as one movement of two, if you are wanting two then please stat, what i mean by two movements is that it will move in say the x axis first till it reaches 10 and then move the entity to 0 after.
hope i have been of some help.
if entityx(tank1)=10 then moveentity tank1,SpX#*0,SpY#,SpZ#
and z simular:
if entityz(tank1)=0 then moveentity tank1,SpX#,SpY#,SpZ#*0
REmember though as you stated above you wanted the mesh to move from 50,0,10 to 10,0,0 so the the SpX# and SpZ# will look like this: (placed outside the loop)
Spx#=1
Spz#=1
and in the loop the moveentity command will go below the checks and look something like this:
moveentity tank1,-SpX#,SpY#,-Spz#
it has the "-" sign because you are wanting the entity to move to a distance behind it (as you pobably already noticed).
Hope this makes sense.
if it doesn't the just say and i'll try and pogram something for you. And before i go there is two ways which you can do this movement either as one movement of two, if you are wanting two then please stat, what i mean by two movements is that it will move in say the x axis first till it reaches 10 and then move the entity to 0 after.
hope i have been of some help.