Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Quick Script Fix (Should be very simple)

CERU

Member

As many of you know, I am making a survival horror game, and have made a survival horror game in the past.

This time around however, I'm having a bit more trouble with health.

All I need to have fixed is this:

Currently, the player is not allowed to lose all their HP and die outside of battle.

I want this fixed, so that HP DOES deplete to zero when I subtract HP from the player.

Can anyone PLEASE help me with this? If you help me, you'll definitely be in the credits of my game.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top