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.

Adding Base Stats via Script

Hi there,

I am wondering how to add base Stats (Strength, Dexterity, Agility, etc.) to the actor in slot one. If you need more detail then please just ask.

Thank you,

Syn.
 
You can do it with:
Code:
$game_party.actors[0].str += 10 #Strength
$game_party.actors[0].dex += 10 #Dexterity
$game_party.actors[0].agi += 10 #Agility
$game_party.actors[0].int += 10 #Intelligence
 

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