Page 1 of 1

problem with moving an actor back to a point after he falls

PostPosted: Sat Feb 02, 2008 6:07 pm
by BloodRedDragon
i'm trying to make him go back to a point after falling down or dieing and ive tried most methods. Help!

Re: problem with moving an actor back to a point after he falls

PostPosted: Sat Feb 02, 2008 6:42 pm
by makslane
You can use the Move To action in the Destroy Actor event.

Re: problem with moving an actor back to a point after he falls

PostPosted: Sun Feb 03, 2008 11:47 am
by Thanx
Or if you want to do it with code (Though maybe Makslane's idea is best)
x=xdied; (where you died on the x axis)
y=ydied; (where you died on the y axis)

If you were asking how to sense that spot where it should stop, and turn back, then here are several ways to do it:
1. Use a Wire-Framed region, in the colision event use Move To or script.
2. On the Out Of Vision event of the actor use the Move To or script.
3.(Which is maybe the most complicated) Create a Timer for it, which starts on the event of which you died, and in the On Timer event you use the Move To or script.
I think you shouldn't have too many problems now. Good Luck with the game!