Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
money problems
Reply
Posted 2006-04-22, 12:12 AM
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?
Old
Profile PM WWW Search
sciencekid is neither ape nor machine; has so far settled for the in-betweensciencekid is neither ape nor machine; has so far settled for the in-between
 
 
sciencekid
 



 
Reply
Posted 2006-04-22, 09:46 AM in reply to sciencekid's post "money problems"
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!
Attached Files
File Type: zip example for sciencekid.zip (96.1 KB, 2 views)
"why I've gotta be one of the cool kids just to walk by/
- without being tripped, thrown down on the ground and kicked/
Insulting me for no reason, I was treated like shit/
The teachers let it happen/
I've even seen some of them teachers laughing/
That's why I had a smile on my face when I started blastin/" - Ill Bill - The Anatomy of a School Shooting
Old
Profile PM WWW Search
Original Sin is neither ape nor machine; has so far settled for the in-betweenOriginal Sin is neither ape nor machine; has so far settled for the in-between
 
Original Sin
 



 
Reply
Posted 2006-04-22, 01:44 PM in reply to Original Sin's post starting "It is very easy, you use a conditional..."
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
Old
Profile PM WWW Search
sciencekid is neither ape nor machine; has so far settled for the in-betweensciencekid is neither ape nor machine; has so far settled for the in-between
 
 
sciencekid
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:49 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.