Can you cap variables in VXAce?

Status
Not open for further replies.

kiriyubel

Villager
Member
Joined
Oct 31, 2017
Messages
11
Reaction score
2
First Language
Hebrew
Primarily Uses
RMVXA
In RPG MAKER VXAce: is there a way to make the value of a variable not go over a certain number? like: the variable's value cap is 20, if you are at 20 and you get another point then this point is ignored and the value keeps being 20?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,130
Reaction score
5,729
First Language
Indonesian
Primarily Uses
RMVXA
You can just use the Conditional Branch before adding more value to it (we can explain if you don't understand how to use Conditional Branch event). Unless you're not using the event to increase the variable.
 

Shiro-chan

Friendly Neighbourhood Neppy Maid
Veteran
Joined
Aug 7, 2018
Messages
121
Reaction score
26
First Language
German
Primarily Uses
RMVXA
The game does not automatically cap variables either down or up, you have to set a limiter yourself. See the example in the image, it's really as easy as that though.
howtocap.png
 

Wavelength

Edge of Eternity
Global Mod
Joined
Jul 22, 2014
Messages
4,968
Reaction score
4,148
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

The end is near. The end is near. The MV era will be passed and people will look the forum about new RPG maker all days. ;_;[Election day all over again] Let accept that you will probably not what you want completely.
C&C Remastered comes out tomorrow! Hyped! Already have it preinstalled on Steam.
Its ironic, how often a person can have something smart to say, when their arrogance is originating from an internal vacuum where emotional intelligence belongs.
Parallax mapping is time consuming...
Let's purchase th... WAIT! Just in time ehehehe.

Forum statistics

Threads
98,152
Messages
949,737
Members
129,438
Latest member
Tsuna976
Top