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

Non-platform specific questions.

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

Postby BloodRedDragon » Sat Feb 02, 2008 6:07 pm

i'm trying to make him go back to a point after falling down or dieing and ive tried most methods. Help!
Current projects:
Techno-Tank Arena: on hold
Techno-Tank SuperPortal (working title): 0.1%
Bowels of Galaxies: 35% (was a bit too optimistic)
User avatar
BloodRedDragon
 
Posts: 123
Joined: Tue Jan 29, 2008 10:07 pm
Location: The Underworld
Score: 5 Give a positive score

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

Postby makslane » Sat Feb 02, 2008 6:42 pm

You can use the Move To action in the Destroy Actor event.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

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

Postby Thanx » Sun Feb 03, 2008 11:47 am

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!
http://www.youtube.com/watch?v=XyXexDJBv58
http://www.youtube.com/watch?v=Be4__gww1xQ
These are me and playing the piano (second one with a friend/fellow student)
Hope you watch and enjoy!
User avatar
Thanx
 
Posts: 314
Joined: Sat Jan 26, 2008 10:07 pm
Location: Home sweet home! :)
Score: 24 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron