Submit Your Article RPG RPG Revolution RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Bank event

Bank event


Want to know how to make a bank event? Simply use "control variable" to create a bank.
In here, I use 3 variable.

1. Set this variable as your current money
2. This variable used for input number
3. Your money in bank

Here's the description of my bank

1. Create an event, fill the 3 variable that I have mention. Use "show text" like "What do you want?" or something else. Create "loop" then, fill it with "show choice"
choice 1 = to tell the event that you want to save your money in the bank
choice 2 = to tell the event that you want to withdraw your money from the bank
choice 3 = to tell the event that you want to see your current money in the bank
when cancel = "branch", fill it with "break loop" to end the event processing

2. In choice 1, set the variable 2 to 0. Use "input number" with the variable 2 (the digit is up to you). Add variable 3 from variable 2 and subtract variable 1 from variable 2.

3. In choice 2, is an invert from choice 1. Subtract variable 3 from variable 2 and add variable 1 from variable 2.

4. In choice 3, use "show text" to show your current money and in bank money

5. Have a good try and sorry for my bad English (I'm Indonesian)

If you have any question, please contact me.... 
Details
Tutorial: Bank event
Date Listed: Fri, 06 Nov 2009 04:25:49 -0500
Author: Kuro Creator
Total Hits: 985


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal