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
Map change after a monster kills you
lordmestari Offline
Junior Member

Posts: 22
Threads: 8
Joined: Apr 2011
Reputation: 0
#1
Map change after a monster kills you

Hello!

I've been working on an Amnesia mod to scare my friend shitless for a while now Big Grin

The mod is called "The Fun Palace" for now, even though I wont be using my unique story for this mod. (as I said, just a few maps for my friends Tongue)

So, my question is:

How do you script a map change after a monster kills you?
There's three monsters(brute, grunt and suitor) who break out from 3 doors out of 10 and I want -that- map to end there, and start from a new map after dying. Is it possible? (That part is for the intro, a "nightmare, if you will", and then the character will wake up in a different map
(This post was last modified: 08-01-2011, 07:27 AM by lordmestari.)
08-01-2011, 07:23 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Map change after a monster kills you

You create a checkpoint before the player dies with CheckPoint() and then when the callback is called, you call ChangeMap() inside the callback function. Make sure checkpoint doesn't refer to any text entries.

Tutorials: From Noob to Pro
(This post was last modified: 08-01-2011, 08:00 AM by Your Computer.)
08-01-2011, 07:57 AM
Website Find
Gearsguy Offline
Junior Member

Posts: 4
Threads: 1
Joined: Jan 2009
Reputation: 0
#3
RE: Map change after a monster kills you

Yeah wasnt that already done in Amnesia (so its possible)?

Warning below is sort of a spoiler


In the part where the monster gets to you and you go to the jail cell?
08-02-2011, 05:08 AM
Find




Users browsing this thread: 1 Guest(s)