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
Script Help Somekind of CheckPoints needed
Ermu Offline
Member

Posts: 86
Threads: 13
Joined: Jan 2012
Reputation: 2
#1
Somekind of CheckPoints needed

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.
02-18-2012, 05:20 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Somekind of CheckPoints needed

For the start in wrong place check so you use the right map and the right playerstartarea

02-18-2012, 05:34 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: Somekind of CheckPoints needed

Use local map variables and (or) check the box FullGameSave in the level editor for the entities you want their information to be stored.

Tutorials: From Noob to Pro
(This post was last modified: 02-18-2012, 05:42 PM by Your Computer.)
02-18-2012, 05:40 PM
Website Find
Ermu Offline
Member

Posts: 86
Threads: 13
Joined: Jan 2012
Reputation: 2
#4
RE: Somekind of CheckPoints needed

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?
(This post was last modified: 02-18-2012, 06:54 PM by Ermu.)
02-18-2012, 06:04 PM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#5
RE: Somekind of CheckPoints needed

(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.



02-18-2012, 10:49 PM
Find
Ermu Offline
Member

Posts: 86
Threads: 13
Joined: Jan 2012
Reputation: 2
#6
RE: Somekind of CheckPoints needed

(02-18-2012, 10:49 PM)Obliviator27 Wrote:
(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.
Got that figured out right before reading this, now i only got the problem with the lever.
Thanks anyways!
(This post was last modified: 02-18-2012, 10:58 PM by Ermu.)
02-18-2012, 10:57 PM
Find




Users browsing this thread: 3 Guest(s)