Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Checkpoints question [SOLVED]
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Multiple Checkpoints question

You have to activate checkpoints in order. It'll replace previous one.

05-03-2011, 10:40 PM
Website Find
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#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
Simpanra Offline
Senior Member

Posts: 314
Threads: 28
Joined: Mar 2011
Reputation: 0
#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
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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
Simpanra Offline
Senior Member

Posts: 314
Threads: 28
Joined: Mar 2011
Reputation: 0
#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
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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
Simpanra Offline
Senior Member

Posts: 314
Threads: 28
Joined: Mar 2011
Reputation: 0
#9
RE: Multiple Checkpoints question [SOLVED]

Good to know you solved it ^_^ Glad to help x3
05-04-2011, 04:06 PM
Find




Users browsing this thread: 1 Guest(s)