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
Death Teleport
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#9
RE: Death Teleport

(02-26-2012, 08:52 PM)Strembitsky Wrote:
(02-26-2012, 08:00 PM)Datguy5 Wrote:
(02-26-2012, 07:50 PM)Strembitsky Wrote: Do an if statement if the Player's health is below 10 at a specific area. (Or you could start a timer, re-running this function after you enter an area).

This way, if the player ever gets near death at the point you want him to, it will call a function. You could then make the screen fade with FadeOut, and have him teleport somewhere with the TeleportPlayer command, found somewhere on the wiki. Don't forget to FadeIn afterwards.
Does it work if i make that the monster kills the player,and then the player spawns in a checkpoint that is still in teh same map but in the different area.
I'm sure that there is an UponDeath function, but right now, try that if statement. Maybe even make it so that the if statement checks if the player's health is below 1, that might work.

Also, you could go into Amnesia's hps file and look for the script they used.
The real amnesias hps file is crazy.I cant find anything from there.But i just remembered that i want to have an intro when the player wakes up in a cell you know.How do i do that.Can you help me show me the script and tell me do i need to make a new map etc. :3

02-26-2012, 09:07 PM
Find


Messages In This Thread
Death Teleport - by Datguy5 - 02-26-2012, 06:04 PM
RE: Death Teleport - by Shives - 02-26-2012, 06:29 PM
RE: Death Teleport - by Datguy5 - 02-26-2012, 06:51 PM
RE: Death Teleport - by trollox - 02-26-2012, 07:11 PM
RE: Death Teleport - by Datguy5 - 02-26-2012, 07:19 PM
RE: Death Teleport - by Strembitsky - 02-26-2012, 07:50 PM
RE: Death Teleport - by Datguy5 - 02-26-2012, 08:00 PM
RE: Death Teleport - by Strembitsky - 02-26-2012, 08:52 PM
RE: Death Teleport - by Datguy5 - 02-26-2012, 09:07 PM
RE: Death Teleport - by Your Computer - 02-27-2012, 01:11 AM
RE: Death Teleport - by Datguy5 - 02-27-2012, 11:03 AM
RE: Death Teleport - by Strembitsky - 02-26-2012, 10:41 PM
RE: Death Teleport - by Datguy5 - 02-26-2012, 11:36 PM
RE: Death Teleport - by Strembitsky - 02-26-2012, 11:45 PM



Users browsing this thread: 1 Guest(s)