Announcement

Collapse
No announcement yet.

I Will Explain Variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I Will Explain Variables

    OK, variables may seem intimidating at first, but once you get to know how to do them, your game will improve by a lot.

    First, make an event. (Usually invisible or NPC events) Next, edit the event and make a Value Conditional Branch. (Select option 2, 3, 4 depending on how many branches you want) When you do this, a screen will pop up and at the bottom it will look like this; (I will use option 2 for the example)

    123... 0
    123... 0

    When this screen comes up, make the top a number (example; 0) and make the bottom another number. (example; 1)

    Now, you may be wondering what these numbers are for. The top number will be the top branch's variable. (What happens when shared variable is zero) The bottom number will be the bottom branches variable. (What will happen when shared variable is one)

    How do you make the shared variable change to one? This is how;

    First, make a seperate event. Let's say... a boss fight. When you make the event for the boss fight, somewhere in there should be a Battle Result Branch. In the win section of the branch, put everything you need to. After that, at the very bottom of the win branch, put add variable. Change it from # to #. (example; 0 to 1. This will make sure that after the fight, the shared variable number will raise by one) Then, go back to your other event. (The one with the Value Conditional Branch) On the top branch, put what you want the NPC to say before you beat the boss. (example; Go fight the demon.) On the bottom branch, put what you want the NPC to say after you beat the boss. (example; You beat the demon and saved the world!)

    Now you know how to make variables, go try it out now!
    Currently working on: The Lost Realm
    (For more info plz PM me)

    #2
    Re: I Will Explain Variables

    Which game is that tutorial aimed at?
    Last edited by Duel; 07-22-2007, 09:31 PM.
    Screenshot Let's Plays

    Comment


      #3
      Re: I Will Explain Variables

      RPGM 3
      Currently working on: The Lost Realm
      (For more info plz PM me)

      Comment


        #4
        Re: I Will Explain Variables

        Ok, cool. I don't like RPGM3 but, that tutorial is nice.
        Screenshot Let's Plays

        Comment


          #5
          Re: I Will Explain Variables

          Yea. I did it as best as I could so the people out there who keep asking, "How do I use variables?" will get a good answer.
          Currently working on: The Lost Realm
          (For more info plz PM me)

          Comment

          Working...
          X