[SCRIPT] Somekind of CheckPoints needed - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Somekind of CheckPoints needed (/thread-13407.html) |
Somekind of CheckPoints needed - Ermu - 02-18-2012 Hey! So, being short, my problem is that when i do all puzzles, unlock doors etc. and go to next map to get an item for a puzzle, and when i return from that map, all my other puzzles have been undone and doors locked, and i start from wrong place (not from the door i went to the other map). And i'm looking for somehow to set a checkpoint that saves all that stuff. I've tried AutoSave, but didn't help. Also CheckPoint sounds wrong, since as it says in the description of it, it's to respawn player at certain place as he dies. I hope you understood, if you didn't, post here and i will try to explain it better. Thanks, Ermu. RE: Somekind of CheckPoints needed - SilentStriker - 02-18-2012 For the start in wrong place check so you use the right map and the right playerstartarea RE: Somekind of CheckPoints needed - Your Computer - 02-18-2012 Use local map variables and (or) check the box FullGameSave in the level editor for the entities you want their information to be stored. RE: Somekind of CheckPoints needed - Ermu - 02-18-2012 Alright, all of that worked great, now the only problem is that, i have a lever, wich won't save and it's position/state/angle it is gets resetted. EDIT: A bit offtopic question, but how do block ie. unlitted candle from being litted by the player? RE: Somekind of CheckPoints needed - Obliviator27 - 02-18-2012 (02-18-2012, 06:04 PM)Ermu Wrote: EDIT: A bit offtopic question, but how do block ie. unlitted candle from being litted by the player?You can either A) Edit it in the model editor so it's just a staticprop or B) Clever use of script areas. I/e, putting a box around the entity which, when interacted with displays a message of "This candle cannot be lit." I'd have to look into it to be completely sure that it would work, but it should work just fine for you. RE: Somekind of CheckPoints needed - Ermu - 02-18-2012 (02-18-2012, 10:49 PM)Obliviator27 Wrote:Got that figured out right before reading this, now i only got the problem with the lever.(02-18-2012, 06:04 PM)Ermu Wrote: EDIT: A bit offtopic question, but how do block ie. unlitted candle from being litted by the player?You can either Thanks anyways! |