is there a way to give an NPC a player-chosen amount of money? (VX ace)

Schmoopy

Villager
Member
Joined
Jun 8, 2017
Messages
13
Reaction score
0
First Language
english
Primarily Uses
Other
heyo. new to RPG maker and I was wondering if there's a way to give an NPC a player-inputted amount of gold. I know how to give a set amount (100 gold, 50 gold, etc.) but I'd like to make it the player's choice. They'd be rewarded for giving X amount, naturally, but I have no idea how to actually make it possible to give a chosen amount. Thank you in advance <3
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
'Game Mechanics Design' is for looking at elements of game play at a more conceptual level. "How do I...?" questions go into the Support forum for the engine you are using.

[move]RPGMaker VX Ace[/move]
 

Schmoopy

Villager
Member
Joined
Jun 8, 2017
Messages
13
Reaction score
0
First Language
english
Primarily Uses
Other
'Game Mechanics Design' is for looking at elements of game play at a more conceptual level. "How do I...?" questions go into the Support forum for the engine you are using.

[move]RPGMaker VX Ace[/move]
ahh, thank you ;W;
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
The Input Number command allows the player to set a number.
That number is then stored within a Variable.
The Change Gold command allows the use of said variable.
 

Schmoopy

Villager
Member
Joined
Jun 8, 2017
Messages
13
Reaction score
0
First Language
english
Primarily Uses
Other
can you teach me how to do that? here's what I did:
2.png
but when I did that, the number input won't let my type in a number. it just stays at zero.
1.png
what am I missing here?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
The player doesn't type the number but uses the arrow key to make the number increase or decrease. Your event command is correct.
 

Schmoopy

Villager
Member
Joined
Jun 8, 2017
Messages
13
Reaction score
0
First Language
english
Primarily Uses
Other
OH! jeez i didn't even try that. thank you very much!

it works. thank you~
 

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