- Home /
http://answers.unity3d.com/questions/430802/how-can-i-load-a-level-when-health-depletes-to-0.html
How can an enemy deplete players health?
I bought a script from the Asset Store that is a basic health script but I don't know how to make an enemy harm the player. The player has 4 hearts and I want to make it so that an enemy can deplete a heart of a player in a second or two, then deplete another heart so it's not instant. I already have an enemy that will run towards the player and play the attack animation when near the player, but I don't know how to deplete the players hearts without it being instant.
Duplicate Question : http://answers.unity3d.com/questions/430802/how-can-i-load-a-level-when-health-depletes-to-0.html
Please Delete this Question.
Please be patient if your question/reply doesn't show straight away.
As a new user, your posts and questions are held in a moderator que until it is approved and then it is displayed. When your karma rises, you'll be able to post questions, comments and answers without waiting for someone to approve it.
http://video.unity3d.com/video/7720450/tutorials-using-unity-answers
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Enemy AI Help? 1 Answer
How to Stop Enemy "Shooting Through A Wall" 1 Answer
How to make enemy kill you if starring at it? 2 Answers
Enemy Spawn script not continuing level 2 Answers