I Need Help With Variables

● ARCHIVED · READ-ONLY
Started by JasonNolan64 4 posts View original ↗
  1. Well I do know how to use variables by itself, here's my problem, I want to make an event to where you can set the variable number by player control, for example I talk to the person than the game gives me a variable number input screen (like in debug) like I set the variable number to 750, then that variable is set to 750. something like that. But I can't find anything like that in the event command tab. Please help me.

    Below is a picture of the debug screen activated by F9, And I specifically want to adjust variable 19 in my case.

    RPG Maker VX Ace Debug.PNG
  2. Hi, Jason! It seems like to me, you're basically trying to get the player to bid a certain amount for an event, right? Here is what you'll want to do.

    In the event editor, you're going to use the command 'Input Number' which can be found directly under the show choices command.

    It's going to ask you to select a variable to attach the number to; in your case, go ahead and pick 19. 

    Select the amount of digits you'd like the player to be able to input; the highest you can go is 8. (So they'd be able to bid no more than 99999999 gold, for example.) 

    Directly underneath that, click on 'Control Variables'. Pick 19 in the 'single' section at the very top; then, under 'Opperation', click 'Set'.

    Beneath that, in Operand, click 'variable' and pick 19 again.

    What you've just done is allow the player to control variable 19; whatever number they input, will be what 19 becomes.  :)

    After that, event as you normally would via conditional branches and such! I hope this helps, and if not, I'll post some screen shots for you. Good luck!
  3. Thank you. How could I be so Stupid! I've been using this program for 16 months and yet I din't know that!!!!
  4. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


    We all have those moments :)