The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Followers walking strange

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old August 12th, 2013 (1:51 PM).
Rhayne Rhayne is offline
     
    Join Date: Dec 2012
    Gender: Male
    Posts: 4
    Hello!
    I've managed to make a few scripts, and I've been doing well using switches etc. However, I've tried making an event where I can decide as to whether I want an npc to follow me (I'm hoping to incorporate a system where players choices and actions with npcs will effect certain aspects of the game).

    Now, after speaking to an npc I've made it so you have a choice between them accompanying you or not. If you say no, the npc will then walk away and disappear, that is working fine. The problem I'm having is after saying yes, the npc will start to follow you, but the animation isn't working correctly. They follow your character fine, but they move only using one leg. Does anyone have any idea as to how I can make it so they walk normally behind my character?

    Thanks.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old August 13th, 2013 (4:36 AM).
    thor348's Avatar
    thor348 thor348 is offline
    That's Oak to You
       
      Join Date: Nov 2012
      Location: Arizona
      Gender: Male
      Nature: Calm
      Posts: 136
      I just need to say that I didn't expect the "one leg" part and it made me grin. Anyways, have you checked the sprite sheet of the follower? As in, is the sprite only drawn to walk with one leg?
      Reply With Quote
        #3    
      Old August 13th, 2013 (9:19 AM).
      Rhayne Rhayne is offline
         
        Join Date: Dec 2012
        Gender: Male
        Posts: 4
        Haha I didn't know how else to describe it, anyway I guess that's my good deed of the day done then. And yeah, I've checked the sprite sheet and it's been drawn to walk with both. There are 4 sprites to each direction. Stood still, left leg forward, stood still and right leg forward.
        Reply With Quote
          #4    
        Old August 13th, 2013 (9:40 PM).
        thor348's Avatar
        thor348 thor348 is offline
        That's Oak to You
           
          Join Date: Nov 2012
          Location: Arizona
          Gender: Male
          Nature: Calm
          Posts: 136
          Have you edited the DependentEvents script section at all? Which version of Essentials are you using? Did you use the given example of adding a dependent event to follow the player? (This would be brendan)
          Reply With Quote
            #5    
          Old August 14th, 2013 (2:24 AM).
          Rhayne Rhayne is offline
             
            Join Date: Dec 2012
            Gender: Male
            Posts: 4
            No, not yet anyway. I was planning on doing the basics first and making it look pretty after I had the base game completed haha. I'm using the latest version, and I applied the updates to it too, I used the example that was found on the wiki. Maybe that was for an older version?
            Reply With Quote
              #6    
            Old August 14th, 2013 (9:55 AM).
            Maruno's Avatar
            Maruno Maruno is offline
            Lead Dev of Pokémon Essentials
               
              Join Date: Jan 2008
              Location: England
              Posts: 5,173
              Dependent events in Essentials behave like that, so it's not something that Rhayne's done.
              __________________
              Go to the Pokémon Essentials Wiki

              | Downloads | Tutorials | Fangames |
              | All Animations Project |

              Follow me on Twitter: @maruno42


              Reply With Quote
                #7    
              Old August 14th, 2013 (11:16 PM).
              Rhayne Rhayne is offline
                 
                Join Date: Dec 2012
                Gender: Male
                Posts: 4
                Ahh I see. I'm assuming dependant events will only use the first two sprites of each direction when walking? If that's right, I could change the order on the sprites of the sprite sheet, but that would make the dependant event look like it's permanently walking? A bit like the Pokemon in the Pokemon follow script? If that's the case, would it then be possible to give a dependant event a separate sprite for when it isn't moving? Thanks for all the replies by the way haha.
                Reply With Quote
                Reply
                Quick Reply

                Sponsored Links
                Thread Tools

                Posting Rules
                You may not post new threads
                You may not post replies
                You may not post attachments
                You may not edit your posts

                BB code is On
                Smilies are On
                [IMG] code is On
                HTML code is Off

                Forum Jump


                All times are GMT -8. The time now is 11:08 PM.