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.

Inn Receptionist

i think this is the correct forum to this cuz i think you can only do it with script..
sorry if i post this in wrong place (please move it if it wrong)

Any one can help me with this one? please...

If I make the inn keeper take 250gold for the rest and teleport you on the bed
but he will take 250 even if you don't have...and it will teleport you

i want to make him take 260 only if you have 250+ gold and only teleport you when you pay the 250 gold

thanks to all
 

boon

Sponsor

Set a variable to equal the players gold.

Then say if the variable is  under 250, show a message saying whatever you want it to say.

If the variable is over 250, take 250 away and warp to the bed.

:smile:

You don't necessarily need scripts to do this. It's just checking how much money you have.
 

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