- Home /
Health Decrease
How can I make my FPS character lose health and when he loses health the screen will turn red on the sides to show he is hurt? Also how can he regenerate?
We have not gotten to the level of technology yet where computers interact with us as if they were human beings. You need to think in more abstract logical and mathematical terms. A computer does not know "character", "lose", "health", "turn red", "the sides", or "regenerate". You are not ready to ask this question. Go work through some tutorials, on the Unity site and YouTube, and learn the basics of the language of Unity.
Not sure if it's what yur looking for but have a look at this link http://answers.unity3d.com/questions/18306/shoot-the-player-effect/18310#18310
Answer by AngryOldMan · Mar 28, 2011 at 01:29 PM
You can do this by adding a script containing relevant syntax and properly declared variables. You can achieve this like, Jessy said, by learning about Unity first! Also READ THE FAQ before posting any more questions.
Answer by Justin Warner · Mar 28, 2011 at 01:31 PM
Lol, as Jessy said, you need to actually learn how to code before you actually take up upon yourself to do this...
However, in general, you give the player a health, have it decrease when shot, then if it's less than 10, you start the whole screen red thing which can be rendered or w/e, then you have the health auto increase by one every second, and then have it so that if it's above 100, make it 100 again... Easy. Just learn how to code.
Your answer
![](https://koobas.hobune.stream/wayback/20220613115312im_/https://answers.unity.com/themes/thub/images/avi.jpg)