How to make an NPC move with the Player?

kirigirisan

Warper
Member
Joined
Nov 21, 2013
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Hello! I'm working with IG Maker and I have my player gadget and an NPC gadget of a friend. For one of my game's stages, I want the friend to match the player's movements (when the player jumps, the friend jumps, if the player walks left, the friend walks left, etc.)

I've tried several things but I can't get it to work quite the way I want it to. Here's what I've done so far:

  • I created a friend gadget and it has the same action programs as the player.
  • Initially in the game, the friend would copy the player's movements but it would not leave the space it was occupying.
  • I tried the master-slave gadget function as it mentioned that the friend would copy the player's actions, however when I tried this, it would occur for all the levels and the friend would appear behind the player as if following the player. This isn't quie what I had in mind
  • I checked the box for the friend to move towards the player gadget. This worked in the sense that the friend would leave the space it was occupying, but that was it. It would move in the direction of the player, but it wouldn't move backwards at all. (basically it would move left but not right, which is not what I need either)
I've been playing around with the setting and I'm not sure why this isn't working. Is it possible and I'm just going about it the wrong way? Any and all help on the matter would be appreciated.

Thank you!!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

2 huge market drops in 2 days. So glad I sold my non-dividend stocks about 2 weeks ago. And if the dividend ones drop heavily, hey more cheap stocks for me!
My tutorial is live! It covers using Yanfly's weapon unleash to replace the basic attack skill with a more dynamic version depending on which weapon type the actor has equipped. It also includes how to import a custom function used to generate a random number within supplied minimum and maximum values, used in the replaced skills, to give weapons a set damage range.
What can I sing for my sisters birthday...?

>.<'
Well, I'll have you know that I'm still around, looking for opportunity to resurface with some stuffs.
I like to think of Profile Posts as tiny homes, full of all kinds of unsuspecting suckers "future" friends.... Many of which are of course only going to be excited when a strange man in black suddenly shows up to say hi. :LZSexcite:

Forum statistics

Threads
94,511
Messages
921,516
Members
124,368
Latest member
Botch
Top