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.

Conditional branch that checks for stats?

Hi everyone, is there a script for the conditional branch that would allow me to check if a character has a certain amount of STR, DEX, etc? So...if Actor 1's STR > 42, then an event would play...and if it isn't, then it won't?

I did some searching on the forums and I didn't come up with anything. Sorry if this has been asked before.

Thanks in advance!
 
~ It would also be nice to expand on your topic so that we know what you are actually talking about.
The more info, the easier the process is for you and the member base. ~
 
This can be just as done easily with variables. Use a variable to store the actor's statistics one (one for each stat or how many you need) and think use conditional branches to check if the stat minimum is met.
 

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