- Home /
How to script a death fall and respawn?
I really need to know how to make a script which will make my character, which is a First Person Controller (Unity's prefab) die when it falls off one of the roof tops I've made, and when hitting the ground, the player will respawn at the original spawn point. Is this possible? Can it be done all in one single script? Also, if you could help me too, I need a script to go on to the next level when reaching a "button", I mean, when you step on it, you go on to the next scene. If you could give me these 2 scripts, you'd be saving my life :D Thanks a lot! Btw, I've already tried triggers for the second script, this isn't working for me at all.
Hi Xziley. Sorry to dissapoint but nobody is going to spend their time writing your game for you. If you need assistance or are struggling to implement something, you need to post what you've tried along with the relevant code giving you the problem/errors.
People are happy to help, but you need to be clearer and more specific.
Dan
Your answer
Follow this Question
Related Questions
In My Multiplayer Game only he host Respawns when he dies 0 Answers
How to make a stopwatch that restarts every time the player dies and saves it as a highscore 3 Answers
how to respawn an enemy after its health hits 0 and a timer for respawning hits 0? 1 Answer
Death when a character hits the ground from a certain height 0 Answers
How can i save an entire scene when a checkpoint is hit 1 Answer