So I was making this game that charges gold, which that part works fine, but whenever I have no gold, it still takes it away, so I kind of have infinite money, I just downloaded rpgvx recently so Im not really sure! thanks!
Change Gold
RPG Maker VXAce SupportThere's a separate forum section for VX support, this is the Ace section.
All you have to do is put a conditional branch checking if the player has enough gold, before doing the subtraction. If they do, then subtract the gold. If they don't give them a message or something saying "not enough gold".
All you have to do is put a conditional branch checking if the player has enough gold, before doing the subtraction. If they do, then subtract the gold. If they don't give them a message or something saying "not enough gold".
Next time post a screenshot of your event instead of describing it, it will help us out a lot!
Do what kerbonklin said, create a conditional branch that checks the player's gold. This should solve the issue with always being able to buy it. Try reading some beginner tutorials as well, specifically about switches and variables.
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.
Do what kerbonklin said, create a conditional branch that checks the player's gold. This should solve the issue with always being able to buy it. Try reading some beginner tutorials as well, specifically about switches and variables.
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.
Original thread: https://forums.rpgmakerweb.com/threads/change-gold.16228/