A counter based on actions

Hey all


Am wanting to develop a game with actions and outcomes which matter, but i want it to be flexable. I want to make a system where, each action will give a +1 or -1, then depending what the total is at the end, a different outcome will occur.


Thankyou for your time


Jacob
You are going to use Variables for this. Setup a TOTAL variable. Then everytime your character does something, Add+ or Subtract- from that TOTAL variable.


Then, when your player has reached the end, you put in Conditional Branch for each ending you want and make it check the TOTAL variable.


EDIT: I just noticed this was posted in MV. I don't have any experience with it, (I use VX Ace) but if they are the same in their processing, it should be correct.
GreyStone84. You are correct, MV uses the same add, subtract event commands to control variables. As well as Conditional Branches to check them.


Jake555, I suggest if you need help on the specifics of switches, variables and conditional branches, you look into some tutorials on just that.


Try this one.
Thanks guys, both been very helpful, have a fair understanding switches and variable, but will watch the tutorial too


Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/a-counter-based-on-actions.59228/