![]() |
money problems
i am trying to make a section of code for the rpgmaker2003 that will allow an event to be able to subract money from the main player when clicked upon but make it so that if the main player doesn't have enough money that the event will say something like "sorry, not enough money" and the event will end the process. any ideas?
|
1 Attachment(s)
It is very easy, you use a conditional branch to do it.
Set the condition as equal to or more then XX amount of money(last option on branch) and have an else case which means if there is not enough money, it can say sorry your too poor. But if there is more or equal to XX amount, it will subtract it and say thank you. Use any text u want of course. Attached is an example of it. Talk to the guy in black first, you wont have enough money so you will be rejected. Next go talk to the guy in red to recieve money then go back to the other guy to subtract money. Just copy and paste an RPG_RT.exe into the file to get it to work. Enjoy! |
ah, i see.. i must've missed the money option on the branch command when i looked at it... thanks for the help! i appreciate it
|
All times are GMT -6. The time now is 08:05 AM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.