Announcement

Collapse
No announcement yet.

Variables and event codes?

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

    Variables and event codes?

    Ok I got all my items/classes, people and all that crap finished. Where can I find a list of the varibles and what not to get these events to work properly?I'm totally lost here with all this stuff..
    I got the RPGM 3 for PS2

    #2
    Re: Variables and event codes?

    There are 60 Shared Variables that you can use.
    There are 16 Internal Variables that are available for each town, field, and person.
    There is no list per se because you are the one who decides what each variable does. You have to write down the variables that you use and keep a written record in order to keep them straight.

    Here's a variable sample event that I hope can help. Feel free to send a PM if you have any doubts about it.
    http://www.pavilionboards.com/forum/...ead.php?t=6897

    Make sure you read through Hitogoroshi's stickied thread titled "Answers to Basic RPG Maker 3 Questions"
    Last edited by Pagerron; 10-31-2006, 06:26 PM.
    " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

    Comment


      #3
      Re: Variables and event codes?

      KONOKO!!! Listen to me!!! Pagerron KNOWS what he's talking about!!! IF you ever EVER need tech help and Pagerron tells you something then that's prolly what needs to be done!!! Pagerron is the Man.
      A God from the Machine - Menander

      Comment


        #4
        Re: Variables and event codes?

        That's a lot of exclamation points!!!
        .

        Comment


          #5
          Re: Variables and event codes?

          Yeah no kidding I couldn't tell if he was excited or yelling at me lol

          Comment


            #6
            Re: Variables and event codes?

            The variables are found in "property" in the event code

            So you want to create a variable with a multiple event? Okay we'll take a simple event and have it react differently to different scenarios

            Lets say you had a little girl who wanted her dog back....we'll used Variable 01 as the dog variable, we'll write the following on a piece of paper

            Variable 01: 0 = No Dog 1=Have Dog 2=Returned Dog
            *NOTE:All variables starting default value is "0"

            That is the resource we'll use throughout the game, make sure to not use Variable 01 for anything other then the dog scenario, otherwise youll have all sorts of funky stuff happening

            now for the coding, this is what you would do

            In Mode 1 of the character event do the following

            1.Create a yes/no decision, have her ask "Did you find my puppy?"

            2.In the YES area create a 2 option val-cond branch, in the first val-cond branch put "VARIABLE 01 >= "1" and second val-cond branch VARIABLE 01 = "0"

            3.In the event for VARIABLE 01 >= "1" do the following:
            a.Display "Thank you so much!"
            b.Go into "Property" and add +1 to VARIABLE 01
            c.Put an "Add Mode" command

            4.In the event for VARIABLE 01 = "0" just display "You don't have my dog"

            5.Now that the val-cond is done, for the "No" part of the yes/no decision display "Well hurry up then! I want my puppy"


            Now that this mode is complete, go ahead and add another mode...this mode(Mode 2) will determine what she says after youve found her dog

            In Mode 2 of the character event do the following
            1.Display "Thank you for finding my dog!"


            thats it! now you are done with this part of the scenario

            The next step it to create the actual dog event, pick a location where you'll find the dog and in its event do the following:

            1.Display "You've found the little girls dog!"
            2.Add +1 VARIABLE 01
            3.Put the code in that turns off the character display


            and thats it...now when you play at first, VARIABLE 01 will be set to 0, everytime you talk to the girl she'll prompt that yes/no question, go find the dog, when you do find him he'll change your variable 01 to "1", go talk to the girl and she'll thank you and change variable 01 to "2", then all the time after that she'll say thanks for finding my puppy

            Playing with variables at first seems a little difficult, but as long as you have a sheet of paper and keep track of them theyll quickly turn into your best friend

            hope this helps....and really hope i did this right, if anyone has anything better to add let me know and ill edit it in

            Here I come Pav, like the Kool-Aid man barging into a funeral! Oh yeah!

            Comment


              #7
              Re: Variables and event codes?

              I'm etreme new comer to this game, and you all seem like the people to ask. This is my situatuon. After my prologue plays, i have my character walk through a town to an object that triggers auto event=storyteller. After the cutscene i want a second cutrscene that provides a three condition branch. The first 2 conditions reset the original event. The last choice initiates a battle. I can't get this to work. The orig cutscene plays, but noting happens after that. If need i can provide further particulars as to what i'm trying.

              Comment


                #8
                Re: Variables and event codes?

                in the future, instead of resurrecting a topic like this, just make a new one.



                Comment

                Working...
                X