Help - Search - Members - Calendar
Full Version: Ace Request: New Param: VP
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Ace Discussion
Pharonix
I want to make a new parameter called VP - Essentially The amount of battles a character can be in.
in which, If VP runs out, character enters a permanent, unremovable state called Exhaustion.
Exhaustion decreases all stats of a character.


The best example of this is the Enchanted Arms VP system.

However, I have it so characters can be switched out during battle. I want it so that characters who finish a battle will lose a pre-determined amount of VP, while those who participated lose only 1VP.
Also, I aim to make it so that if a character is resurrected, they lose VP at the cost of revival.

As of right now, I have common events set up that monitor Variables called Char - VP.
the conditions are
if a char's VP=0,
inflict Exhaustion
Else
remove Exhaustion.

Very Simple.
My only problem is that I don't know how to check the battle party So as of right now, I can only check for the members guaranteed to be in a battle.

I was hoping there could be a script for this. But if it IS possible with events. Help is appreciated.

I know this may be a difficult request so I'm not gonna get my hopes up.
Apart from college requiring me to use php,c++,java,ml,assembly, I don't have the time to learn ruby.
Thanks again!

Sorry this is in the wrong place. When I was here earlier, this was the only place I could find.
Move please to event emporium and/or script requests.
Maliki79
Easiest way I can think of to do this with only events is with Condition Branches. Lots of em.

I'm going to assume you know your way around switches, variables and events already.

First of all, you need a switch turned on at the start of EVERY battle.
we can call that one BATTLE

Then you need one switch for each actor that can participate in a battle.
I'll call em A-1, A-2, etc. (A is for Actor)

Now, you need a set of Conditional Branches that actives at the beginning of each turn.
These branches check to see who is in the party and turns on the respective switches if they are.
This allows you to see exactly who fought in battle at any given time.

Finally, have a Common Event set to parallel and run whenever the first switch (BATTLE) is turned on.
This Event will check if an Actor's switch is turned on and take a point from the respective VP pool variable you set already.
AND it also checks via conditional branches (again) who is in the current party.
Those are the people who finished the battle (obviously), and they have extra VP taken out.

I think that'll work easily enough.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.