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.

How to make a varable show in text dialog with a npc?

Hello ever one I was wondering how do you make a variable be displayed in a conversation with a npc. I have this variable I called Bounty Hunter Points and I want the npc to be like this is how many Bounty hunter points you have.
 
In the message box put the tag \v[ x ] where x is the variable number. For example, say you were collecting rabbits, and you had a Rabbit Counter, which happens to be variable 004. Your message box would say something like:
"You have \v[4] rabbits!"
 

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