When you move units typically you'll want to use the NEW X POSITION and NEW Z POSITION commands. You feed these parameters into them:
Current X/Z,Angle Value,Raiud/Step Value
Current X/Z=Current X or Z position of the object.
Angle Value=Direction object is facing, or the Y angle since the object is moving as though along the ground
Raiud/Step Value=How many units you want the object to move.
Perform these calculations for x and z, and keep track of the step value.
load object "tank.x",1
x#=object position x(1)
z#=object position z(1)
y#=object angle y(1)
milesPerLoop=1
miles=0
do
if upkey=1
newx#=new x value(x#,y#,milesPerLoop)
newz#=mew z value(z#,y#,milesPerLoop)
miles=miles+milesPerLoop
endif
loop
Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html