Announcement

Collapse
No announcement yet.

? about multiple answers from character.

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

    ? about multiple answers from character.

    im still a noob, but i want a character to say a different thing each time you talk to them. i made 4 modes with the different text i want the character to say, how do i make it so that when the main character tlks to them that each time they will say the next dialogue?

    #2
    Re: ? about multiple answers from character.

    If I understand you correctly, you're trying to get a "cycle" of dialogue so that the dialogue changes every time you speak to the person? Let me know if I misunderstood you. Also let me know if for some reason this doesn't work, and I'll go into the game itself and get the coding to give to you.

    The simplest way to go about it would be like this...

    Event: Wave's an Addict

    Mode 1: Button or Touch
    Dialogue: "Hi. I'm Wavelength."
    Modify Mode: Wave's An Addict: MODE 2

    Mode 2: Button or Touch
    Dialogue: "You know, I'm really addicted to RPGM Pavilion."
    Modify Mode: Wave's An Addict: MODE 3

    Mode 3: Button or Touch
    Dialogue: "I probably should be doing work right now."
    Modify Mode: Wave's An Addict: MODE 4

    Mode 4: Button or Touch
    Dialogue: "Oh crap... is that the sun coming up?"
    Modify Mode: Wave's An Addict: MODE 1
    [If you don't want it to loop back to "I'm Wavelength," then delete the Modify Mode in this Mode 4.]


    How Badly Do You Want It? (VX Ace) is now available for download! - no outside software necessary.

    "I live and love in God's peculiar light." - Michelangelo

    Comment


      #3
      Re: ? about multiple answers from character.

      hey thanks, i actually stumbled across it when i was trying different things, butt i have a new question for you.
      okay so you (the main character) talk to someone they tell you to talk to everyone else in town. then when you come back afterwards they give you a special item. i know how to make them give you the item, but how do i make it so they only give it to you when you have done what they asked.

      Comment


        #4
        Re: ? about multiple answers from character.

        This is a case best dealt with through a val-conditional branch. Pick a variable, any variable will work, but an internal variable for the person offering the item is probably easiest to remember.

        The item-giver would have three modes, one where they tell you to talk to everyone and offer the item. A second mode, which will contain the code for the val-conditional branch. And a third mode, which would only be set after you receive the item.

        Each person in town would have two modes, one which adds one to the variable after you talk with them, and another for after you talk to them.

        The first mode for each townsperson would look like one of the modes from Wavelength's post, except that it would also have an Increase Internal Variable code included as well. The second mode would be just a message (Or you can combine this with the previous situation, and start a message sequence).

        The first mode for the item giver will look like the first mode from Wavelength's example. The second mode should look something like this (Assuming you use character 1's first internal variable and have 3 townspeople):

        Val Conditional Branch
        Branch 1 If Character 1 Internal Variable 1 = 3
        Message: "Here you go"
        Receive Item: Mystery Box
        Add mode: Item Giver
        End Branch
        Branch 2 If Character 1 Internal Variable 1 <= 2
        Message: "Talk to more people"
        End Branch

        Mode three for the item giver would just be a message saying whatever you want it to say after the item has been given.

        Comment


          #5
          Re: ? about multiple answers from character.

          OR 4 modes so that between talking to him the first time and talking to everybody he can yell at you that you missed someone.
          A God from the Machine - Menander

          Comment


            #6
            Re: ? about multiple answers from character.

            Originally posted by MagusMartovich View Post
            OR 4 modes so that between talking to him the first time and talking to everybody he can yell at you that you missed someone.
            Magus, its amazing how much you and I agree on. I love doing exactly that! Atleast I did for the first two towns, it just gets tireing after awhile, that and the memory constraints.
            stodi no na ka cenba

            Comment


              #7
              Re: ? about multiple answers from character.

              Atleast I did for the first two towns, it just gets tireing after awhile, that and the memory constraints.
              Hence why I recommended that particular method. It saves memory for REALLY important stuff, like storytellers.

              Comment


                #8
                Re: ? about multiple answers from character.

                yeah...and....decorative birthday cakes and giant peaches

                No game's complete without a mutated peach

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

                Comment


                  #9
                  Re: ? about multiple answers from character.

                  yeah...and....decorative birthday cakes and giant peaches

                  No game's complete without a mutated peach
                  You know it!

                  And don't forget the mammoth steaks!!!

                  Comment


                    #10
                    Re: ? about multiple answers from character.

                    lol, i prefer the magical talking christmas tree and the random white tree of gondor i placed i the middle of my town.
                    on a serious note, thanks for the great information. it really helped out.

                    Comment


                      #11
                      Re: ? about multiple answers from character.

                      Magical Christmas Tree: Go forth, and bring me GOLD! mwahahahahaha

                      Little girl: Mr. Christmas Tree, why do you need gold if you're just a tree?

                      Magical Christmas Tree: Little girl, you dare defy me!?!?!? I should branch-slap your little ***!!!!!

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

                      Comment


                        #12
                        Re: ? about multiple answers from character.

                        You know JPS, ever since you made Khadaj your Avatar you've been acting a little strange... Have you been posessed?
                        stodi no na ka cenba

                        Comment


                          #13
                          Re: ? about multiple answers from character.

                          nah, Im just extremely tired, I'm switching back to dayshift so I've been up for 36 hours straight, shoving myself instantly into dayshift

                          I'll be knocked out by 10

                          Khadaj is awesome

                          I'll try to act more like myself from now on, I didnt think I changed

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

                          Comment


                            #14
                            Re: ? about multiple answers from character.

                            It was the christmas tree pimp that seemed strange.

                            Yes, khadaj is awesome
                            stodi no na ka cenba

                            Comment


                              #15
                              Re: ? about multiple answers from character.

                              Originally posted by JPS View Post
                              Magical Christmas Tree: Go forth, and bring me GOLD! mwahahahahaha

                              Little girl: Mr. Christmas Tree, why do you need gold if you're just a tree?

                              Magical Christmas Tree: Little girl, you dare defy me!?!?!? I should branch-slap your little ***!!!!!

                              I'm a "Taking Tree" Little Girl! The "Giving Tree" was a chump!
                              A God from the Machine - Menander

                              Comment

                              Working...
                              X