Split Gold Function

pinatacookies

Villager
Member
Joined
Nov 4, 2015
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Please help!

I am making a game, and when the player enters a specific event, I want them to lose half of their money. How do I make that happen??? Control variables are working no matter what. Thanks.

If you need more information, just ask.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I assume you mean Control Variables are not working. If that's the case, you need to give us a screenshot of your event, because you haven't got it set up right. You also didn't say what IS happening when the event runs - is ALL your gold being removed? Is NONE of it being removed? Are you certain the event is even running? How can you be sure?


This is what I think you should do:


Control Variables [001: Gold Amount] = Gold


Control Variables [001: Gold Amount] /= 2


Change Gold: decrease by variable 1
 
Last edited by a moderator:

pinatacookies

Villager
Member
Joined
Nov 4, 2015
Messages
11
Reaction score
0
First Language
English
Primarily Uses
Thank you, I had forgotten that the change money function worked with variables... it's working perfectly now.
 

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,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top