Multiple Checkpoints question [SOLVED] - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Multiple Checkpoints question [SOLVED] (/thread-7795.html) |
Multiple Checkpoints question [SOLVED] - Roenlond - 05-03-2011 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: 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 RE: Multiple Checkpoints question - Tanshaydar - 05-03-2011 You have to activate checkpoints in order. It'll replace previous one. RE: Multiple Checkpoints question - Roenlond - 05-04-2011 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 :/ RE: Multiple Checkpoints question - MrBigzy - 05-04-2011 There's probably an error in your script or something, can you post it? RE: Multiple Checkpoints question - Simpanra - 05-04-2011 Try making it so that when you reach the second checkpoint it activates that one and de-activates the first one? =) RE: Multiple Checkpoints question - Roenlond - 05-04-2011 (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 RE: Multiple Checkpoints question - Simpanra - 05-04-2011 (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? =) Awesome =) well if you try it let me know how it goes on ^_^ RE: Multiple Checkpoints question - Roenlond - 05-04-2011 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 RE: Multiple Checkpoints question [SOLVED] - Simpanra - 05-04-2011 Good to know you solved it ^_^ Glad to help x3 |