10-17-2010, 08:36 PM
You could create a dummy object, and before the code to move the man towards the door, you can set the position of the dummy object to that of the man with a duration of 0 seconds. Now once you want the man to move back to his previous position, you can set the man's position to that of the dummy object. The dummy object is just like a placeholder position.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
|