Bank system help

omegaranger

Villager
Member
Joined
Jun 8, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Hi everyone, I am attempting to add a bank system to my game attached is a screenshot of what I came up with already however I keep getting an error when I try to access the bank.

I am trying to do the bank system as a script inside a common event (since I am still new to scripting).

Any help would be greatly appreciated.

Thank you in advance. 

Bank Error.png

Bank.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Don't use script commands - every script command visible in that screenshot has an event command as well, and while eventing you should use the event commands wherever possible and the script command only for those parts where you need a script.

The event commands you should use are "Control Variable", "show text" and "Input Number". You don't need a single script command for those parts.
 
Last edited by a moderator:

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
You cant just split 1 Command on 2 Lines. Therefor you need extra commnand not sure if it was this \ or that / .

But maybe it wasnt this, maybe it was this num input stuff, didnt used that.
 
Last edited by a moderator:

omegaranger

Villager
Member
Joined
Jun 8, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
I got it working. I just didn't want to use the control variables and switches since I didn't think you could have more than 100 switched like that (I'm an idiot and never saw "Change Max..." and could set 5000).

Bank.png
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top