New account registration is temporarily disabled.

[RMXP] I NEED CONDITIONAL BRANCHES THAT CHECK CHARACTER STATS!

Posts

Pages: 1
As it stands, RPG Maker XP's conditional branches are only set to check for things like an actor's current status effects, equipped weapon, armor, name, etc.

The game I'm making uses a "false" battle system where battle is done through dialogue trees, reminiscent of text RPGs. The game tells you, through text, that an enemy is about to do something, and you choose how to respond to it through dialogue choices. Each choice will imply that one stat in particular is being used. For example, "Bull rush the enemy" might be the Strength option, while "Dodge the oncoming enemy" might be the Agility option, and so on.

Each time a stat check is failed, your character will take damage via the Change HP command, and after each dialogue choice, the event will check if your character's HP is at 0, and if so, give the player a Game Over.

Needless to say, Conditional Branches that check character stats are kind of vital to my game. I googled to see if anyone else had a request similar to mine, and while there were a few, their needs were too specific.

Hopefully someone will have an answer for me. Luckily, my game's mechanics are extremely simple. If you have any additional questions about my game that will help you help me, feel free to ask!

Thanks in advance!
Ratty524
The 524 is for 524 Stone Crabs
12986
You can assign your actor's stats into variables by going to Control Variables > Actor: (your char) > HP/MP/ATK/etc., that would allow conditional branches to read their values. You'd probably have to have a parallel process event to update the variable(s) you use when a stat is changed outside of battle, however.

Otherwise, just think of stats as just numbers, and numbers are also variables that can be manipulated.
Holy crap, it worked! This is amazing! Thanks so much!!
Pages: 1