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.

Level up info - need help

As my first ever script (go me!) i'm having a go at making the stat gains that you get appear in a lil window after you have leveled up. It happens in games such as world of warcraft when it says 'You strength has increased by x.' or whatever. I just wondered if there was a way that this variable was already set - the increase value for each stat or wether there was a way other than getting all the info at the start of the battle and storing it in global variables, if they lvl up getting ti all again and then subtracting the values. Also when I subtract the values it gives me an error. I'm subtracting like so:

Code:
    new_int=new_base_int - old_base_int

Please help me and thanks in advance!!

Sam
 

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