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
How to make player die and change map ?
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#1
How to make player die and change map ?

Hello everybody Big Grin

I want to create a moment when a grunt kills the player changes map directly, like the map "22_torture_chancel"

Is it possible?

Thank you

Sorry for my bad english
Amnesia The Revenge - Chapter 1
08-14-2011, 02:26 PM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#2
RE: How to make player die and change map ?

CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);

asCallback - the function to call when the player dies/respawns

then from that callback thing, just use this
ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);

08-14-2011, 02:44 PM
Find




Users browsing this thread: 1 Guest(s)