cyberbob_tf Posted October 11, 2003 Share Posted October 11, 2003 is it possible to move an object back and fourth by using measurment instead of time? ive been tring, and i can get stuff to move using time variables, but it's not as accurate as i need it to be. i can't get any measurment variables to work. i am trying with getpos, and Move. please help if you can!!! :unsure: Link to comment Share on other sites More sharing options...
Morgoth Posted October 11, 2003 Share Posted October 11, 2003 Perhaps it'll work as you wish if you use MoveWorld? Move translates the object along the axes of the system of coordinates rotated together with the object... Link to comment Share on other sites More sharing options...
cyberbob_tf Posted October 11, 2003 Author Share Posted October 11, 2003 why won't it work? begin spotmove float CurrentPos if (Menumode == 1 ) returnendif if ( GetPCCell == 1 ) set CurrentPos to ( GetPos ,X ) if ( Spot->GetPos ,X>= 10 ) MoveWorld, X, -5 endif if ( Spot->GetPos ,X<= 0 ) MoveWorld, X, 5 endifendif end it wont even start!!! :blink: HELP!!!! Link to comment Share on other sites More sharing options...
cyberbob_tf Posted October 11, 2003 Author Share Posted October 11, 2003 correction if ( GetPCCell, "Spotland" == 1 sorry about that ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.