Announcement

Collapse
No announcement yet.

Variables

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

    Variables

    I need help with variables in RPG 2. I have read several things both from this site and other sites and still don't understand them.

    From what I get they are used to change events, but I can never get them to work.

    If someone could explain them or give me an example that would be a great help. Thanks!

    #2
    Re: Variables

    they keep track of numbers. what you do with them is decided by you.

    They are mainly used in mathematical formulas, then are conditioned to make certain things happen IF the variable = certain #, or of the sort.
    I love lamp.

    Comment


      #3
      Re: Variables

      Thanks, I think I got it. So if I wanted an even to say something different the second time I talk to him I would switch to a new event page, then in the condition section select variable > than 1 and then just set the script I want to use.

      Is that correct, cause I got the game without the manual and have been following a manual I got off the internet.

      Comment


        #4
        Re: Variables

        You don't need to use pages for a person saying something different (in fact, you can eventually even abolish the idea of Pages!).

        Instead, in the script, do something like:

        Script Branch: Condition: VariableA = 0
        Message: Hello, hero!
        Data: Variable: VariableA = 1
        FORCE SCRIPT END *ends the script at this line
        Branch End
        Script Branch: Condition: VariableA = 1
        Message: Nice day, isn't it?
        Data: Variable: VariableA = 0
        Branch End
        I love lamp.

        Comment


          #5
          Re: Variables

          Thank you so much. I've been trying to figure variables out for weeks now. You've been a great help.

          Comment

          Working...
          X