Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Checkpoints question [SOLVED]
Author Message
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #1
Multiple Checkpoints question [SOLVED]
Alright guys, I'm gonna be needing your assistance here. I've tried to fix it myself but to no avail. What I want is best described with a simple image:

[Image: 3354f2g.png]
As you clearly can see, Dude walks along the path - colliding with two script areas as he goes, which both add their respective checkpoint. But sadly, dude dies after passing the final checkpoint but with my script, dude does not respawn at the checkpoint he last crossed - no, he has to travel all the way back to the first checkpoint since his death count is on 1.

So, my question is, is it possible to make, regardless of the death count, the player respawn at the latest checkpoint he activated? If so, how exactly would I make that happen?

Thanks in advance Smile
(This post was last modified: 05-04-2011 03:20 PM by Roenlond.)
05-03-2011 08:28 PM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #2
RE: Multiple Checkpoints question
You have to activate checkpoints in order. It'll replace previous one.

05-03-2011 10:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #3
RE: Multiple Checkpoints question
That is odd, that is what I currently do. When the player runs through checkpoint 1, he activates that one. Then, in another location, I activate a second one. If you die after the second one, I'll still respawn at the first one :/
05-04-2011 07:03 AM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #4
RE: Multiple Checkpoints question
There's probably an error in your script or something, can you post it?
05-04-2011 07:32 AM
Find all posts by this user Quote this message in a reply
Simpanra Offline
Senior Member

Posts: 314
Joined: Mar 2011
Reputation: 0
Post: #5
RE: Multiple Checkpoints question
Try making it so that when you reach the second checkpoint it activates that one and de-activates the first one? =)
05-04-2011 08:09 AM
Find all posts by this user Quote this message in a reply
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #6
RE: Multiple Checkpoints question
(05-04-2011 08:09 AM)Simpanra Wrote:  Try making it so that when you reach the second checkpoint it activates that one and de-activates the first one? =)

Oh man, I tried doing that but I couldn't think correctly it seems, I believe I know how to do it now Smile
05-04-2011 08:28 AM
Find all posts by this user Quote this message in a reply
Simpanra Offline
Senior Member

Posts: 314
Joined: Mar 2011
Reputation: 0
Post: #7
RE: Multiple Checkpoints question
(05-04-2011 08:28 AM)Roenlond Wrote:  
(05-04-2011 08:09 AM)Simpanra Wrote:  Try making it so that when you reach the second checkpoint it activates that one and de-activates the first one? =)

Oh man, I tried doing that but I couldn't think correctly it seems, I believe I know how to do it now Smile

Awesome =) well if you try it let me know how it goes on ^_^
05-04-2011 08:48 AM
Find all posts by this user Quote this message in a reply
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #8
RE: Multiple Checkpoints question
sigh, don't write scripts when you can't focus... Made stupid mistakes, the checkpoints weren't even called the way I wanted them to - the game just used the first checkpoint because the others never activated... Thanks for the help anyhow Smile
05-04-2011 03:20 PM
Find all posts by this user Quote this message in a reply
Simpanra Offline
Senior Member

Posts: 314
Joined: Mar 2011
Reputation: 0
Post: #9
RE: Multiple Checkpoints question [SOLVED]
Good to know you solved it ^_^ Glad to help x3
05-04-2011 04:06 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)