Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • RPG Maker »
  • Rpg maker vx ace Input Numbers
« previous next »
  • Print
Pages: [1]

Author Topic: Rpg maker vx ace Input Numbers  (Read 7034 times)

Offline evmaster

  • Member
  • Associate
  • *
  • Posts: 231
Rpg maker vx ace Input Numbers
« on: January 04, 2015, 06:24:08 PM »
So I'm trying to make an input number tied with conditional branches and variables. Like a password.

IE: If this xxxxxx is put in, this happens. If xxxxxx is put in, this happens.

I've been doing google searches but I cant find a simple site without them saying they are using a script or something.

It's been awhile since I've made something like this, I really just need a reminder. I think I made one in rpg maker 2003 but trying to figure it out again.

I thought it went something like making a variable with the numbers you want as the password and then making a conditional branch IF the numbers match or else.

If someone would just kindly tell me in what order this all was again that be great. Thanks.
Logged

Offline Rahl

  • Lord Of Gamedwellers
  • Leader
  • *
  • Posts: 2,356
Re: Rpg maker vx ace Input Numbers
« Reply #1 on: January 06, 2015, 05:16:07 AM »
What you have to do is this:

Set Variable A = 1111
Set Variable B = 2222
Set Variable C = 3333

Input Varible D (Variable Size 4)

Conditional Branch
           If Variable A = Variable D
                         then; blah blah blah
   <else>
Conditional Branch
           If Variable B = Variable D
                         then; blah blah blah
   <else>
Conditional Branch
           If Variable C = Variable D
                         then; blah blah blah
   <else>
End Event Processing


This will bring up a dialog box with 4 slots for numbers if they input 1111, 2222, 3333 then each corresponding branch will happen, if they put in anything else then nothing will happen (end event processing), or instead you could put something like incorrect password or something along those lines.
Logged



Offline evmaster

  • Member
  • Associate
  • *
  • Posts: 231
Re: Rpg maker vx ace Input Numbers
« Reply #2 on: January 11, 2015, 04:57:48 PM »
Thanks. I was able to figure this out before your reply. xD
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • RPG Maker »
  • Rpg maker vx ace Input Numbers
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum