Announcement

Collapse
No announcement yet.

Another Newbie Question

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

    Another Newbie Question

    Greetings. Since I received such wonderful help last time I once again turn to you all for answers. I have but one question this time. Is it possible to set up an NPC to only speak to your party of heros if they hold a specific item in their inventory?

    Thank you in advance.

    Namaste
    Last edited by Lunara; 12-10-2005, 02:01 PM.

    #2
    Re: Another Newbie Question

    Very Possible. And Easy too.

    If you increase a variable when the item is received you can then set the character up with a "Value Conditional Branch" based on that variable which will say one thing at the default value (zero) and another at the increased value.

    If you need help with this, just ask!

    Good Luck.

    Peace.

    MOO!




    Comment


      #3
      Re: Another Newbie Question

      Remember, though, it'll only work if you get the item by an event. Finding it in a random battle won't give you a chance to increase the variable.

      Comment


        #4
        Re: Another Newbie Question

        Too Right!! I forgot to mention that because I don't use random battles!

        It cannot normally be done... well, not easily anyhow...

        But if you wanted, you could set up auto events to check for it. Just make sure that it is a treasure item. I did this for my game. But I needed two auto events on seperate maps working together.

        Good Luck with it.

        Peace.

        MOO!




        Comment


          #5
          Re: Another Newbie Question

          Well I thought I would be slick and just whip this right out without any further assistance, though that seems not to be the case. If you find the time I would very much appreciate a more in depth description on how to accomplish having an NPC speak to my party of characters only after they have obtained a certain object. I want to use this in two instances.

          A) NPC 1 gives the party a quest to retrieve treasue A. I want NPC 1 to only speak to my party again when they have treasure A in their inventory.
          B) The party discovers treasure B and when they speak to NPC 2 I would like NPC to then speak to them and take treasure B. Once treasure B is in the posession of NPC 2 the weather of the town will change.

          Once again, thank you in advance for whatever help you may be able to give.

          Namaste.
          Last edited by Lunara; 12-11-2005, 07:30 PM.

          Comment


            #6
            Re: Another Newbie Question

            For A, make 3 modes for the event. On the First, make the NPC tell the party about the treasure or whatever, then use the command to add 1 to the events mode. On mode 2, don't put anything. On 3, set the requirements to Has Treasure Item and pick Treasure A, or whatever you called it. on this mode have them say whatever you want them to say when the party has the item. Sorry if that made no sense, I am not currently playing RPGM3 so I can't quite remember everything, but if you don't understand, just ask.
            .

            Comment


              #7
              Re: Another Newbie Question

              I have done as you suggested, though it did not exactly do what I would like. The NPC still speaks to my party of heros even if they do not have the treasure in their inventory. In testing this I did the following :

              Mode 1
              display message - NPC giving the quest
              Mode 2
              display message - asking how the quest was coming
              Mode 3
              Lose treasure - the Tome
              Display message - thanking the party for completing the quest.

              Now the NPC did indeed go through all the modes, but what I want is Mode 3 only to happen when the Tome is in the party's inventory. At the moment the NPC speaks to them no matter if the book is there or not.

              Namaste.
              Last edited by Lunara; 12-12-2005, 03:34 AM.

              Comment


                #8
                Re: Another Newbie Question

                Lunara, make possession of the Tome a condition to mode 3. That way the event in mode 3 won't happen unless you actually have the item.
                " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                Comment


                  #9
                  Re: Another Newbie Question

                  That does indeed sound simple enough, but I must not be seeing how this can be done. If you could tell me how I can accomplish that I would be greatly appreciative, thank you.

                  Namaste.

                  Comment


                    #10
                    Re: Another Newbie Question

                    It doesn't work like that unless you have modify it's mode before hand to mode 3.

                    The system doesn't look at any other mode, but the one that it is set to. Default being mode 1.

                    So if you want the event to activate when you have an item, then you are going to have to change the mode to 3 before hand.

                    It would be better in this case, to go with val branch, and have the tome be accounted for by variables.

                    Comment


                      #11
                      Re: Another Newbie Question

                      Yea, just have a val-conditional branch be used to keep track of the treasures

                      Comment


                        #12
                        Re: Another Newbie Question

                        Okay, the more I read people's responses the more I'm beginning to get things. This is such a great site. Okay, Lunara (Namaste),

                        when you are creating a character in a town for example, go to the 5th screen of the Event Code Editor, called NPC & Event Codes.

                        Select "Event Code." Press X,

                        choose Edit, and press X again.

                        Now you see 01 - New. Select this.

                        Under event codes, pick "Control."

                        Next, select VAL-Conditional Branch.

                        Select Option 3.

                        Now you should see a screen that looks like this:

                        Shared Variables
                        Variable 01
                        Value = Specified Value 123... 0
                        Value = Specified Value 123... 0
                        Value = Specified Value 123... 0

                        You need to change the info. so that it looks like this.

                        Shared Variables
                        Variable 01
                        Value = Specified Value 123... 0
                        Value = Specified Value 123... 1
                        Value = Specified Value 123... 2

                        Now click OK

                        On the next screen click on <Option 1/End>
                        display message - NPC giving the quest
                        Modify shared variable - variable 01 to 1

                        Then click on <Option 2/End>
                        display message-asking how the quest was coming

                        Then click on <Option 3/End>
                        Lose treasure - the Tome
                        Display message - thanking the party for completing the quest.

                        After you have gone through this, make sure that, in the event code where you actually get the tome, you modify the shared variable 01 to 2, so that when you go back to that person, the third option will be triggered.

                        Just go into the event code editor under "control" and select
                        VAL-Conditional Branch. I think you'll be able to see how there the variables are like conditions.

                        Hope this helps. Pagerron.
                        " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                        Comment


                          #13
                          Re: Another Newbie Question

                          Pagerron
                          Thank you ever so much, that is exactly how I needed it explained. I have finally made my NPC as I imagined him up! Thank you again that was a most wonderful and in depth explanation and has finally given me the understanding needed to do what I wished within the game. I appreciate your help more then I can say.
                          Thank You!!

                          Namaste.

                          Comment


                            #14
                            Re: Another Newbie Question

                            Glad to help. Before long, I'll be on here asking about some strange difficulty that I'm having with the game. You may be just the person who knows my answer in my moment of need.
                            " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                            Comment


                              #15
                              Re: Another Newbie Question

                              Well spoken, Page. That is the basic concept of the Pav. Well, that and screwing around on the Free and Video game forums.

                              Comment

                              Working...
                              X