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.

[Solved]Paying for a night at the Inn...

Okay, so I have been doing the usual "you have to pay such and such amount of gold to stay at an inn" in my game, but I just realised while play-testing a map that even if you don't have the gold, it will just "subtract" the gold anyway and let you go on in. I just have some dialogue and then I have it set to "change gold -[number]". Is there something else I should be doing or some way to make it check to see if the player even HAS that amount? (I'm sure there's a way, I'm just at a bit of a loss here...) Thanks in advance. ^_^
 

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