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,087
Reaction score
5,700
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
119
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,944
Reaction score
4,126
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 Posts

Latest Profile Posts

Managed to find a way to hang a bed cover over my window. So no more being toasted alive in the afternoon!:kaoswt2:
So, uh, has anyone tried buying any resources from KokoroReflections? Because I've been looking for a 'buy' button on the site for like 10 minutes now and can't find one.
Any also thought it's too cringy to put the word "and you" in your credit as a special thanks?
Cause that's what I thought...
Everyone in the US right now: Please stay safe.
Symphony Celestia: Prophecy of the Falling Stars RPG Maker music pack WIP. Symphony Celestia is a new series that focuses on symphonic and orchestrated music to tell a story. Each story will include compositions that make up that story from beginning to end. Themes include: Battles, adventures, character themes, etc. Below is a video preview to the first story.

Forum statistics

Threads
97,982
Messages
948,351
Members
129,248
Latest member
connoruption
Top