How do I make a quest NPC escort system?

0 favourites
  • 2 posts
From the Asset Store
Fantasy RPG Human-NPC assets pack of 15 characters
  • Greetings everyone!

    I'm doing a game for my College project and I have a problem: The player will interact with NPC's (in total 12), the NPC will follow the character's player and he need lead the NPC to a correct place(there are 4 places: 3 wrongs and 1 right for each according to each NPC). the player can take only 1 NPC per time.

    I don't know how to do this system, if I use pathfinding or array etc. Does someone can help me with this problem? Or atleast indicate a study or discussion to help me with that?

    I'm using the Construct2 Free(the 100 restricted events)

    Sorry for my english.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The behaviour they use to follow depends on the genre of game, I can't imagine what it looks like.

    To choose an NPC you could give each one a variable value like 1,2,3... and a global variable number which is the NPC that is following you.

    When you interact you set the global variable to the NPC number. Then for following, you can say if NPC.variable = global variable then follow, Else don't follow.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)