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.

Checking Agility and such.

I would like in a conditional branch that you can things like agility. Like:
@> If agility =< 40
@> Force Action: Skill: Dust Wind

Now I want that if Agility is less than 40, that the skill is being executed. But you can't tell the conditional branch anything about agility. I think you need the script line for this. So, does anybody know what I need to insert in that script line?
 
Who's agility do you want to check?

To check an actor's, use $game_party.actors[index].agi in a script conditional statement.

To check an enemy's, use $game_troop.enemies[index].agi in a script conditional statement.

indexes start at 0.
 

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