Change Gold

Status
Not open for further replies.

Archlight

Warper
Member
Joined
Aug 1, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
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!
 

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
There'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".
 
Last edited by a moderator:

Archlight

Warper
Member
Joined
Aug 1, 2013
Messages
4
Reaction score
0
First Language
English
Primarily Uses
There'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".
Yeah I meant ace just didn't put it..

And thanks
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top