2: Create your RPG NPC

INTRODUCTION:

A RPG NPC (Non Playable Character) is usually a character which asks us for something, and if Players complete it, they win something back. It is a very classic element of RPGs and one of the best way to reward your Players!

A) NPC CREATION

Now that you're into your Scene, place an ASSET that will be used as your RPG NPC.

Tip: Use a Human as your RPG NPC, it is the most common type of Character that Players meet in a RPG.

B) CHANGE ITS BEHAVIOUR

We want our NPC to ask us for something. So we need to put on him a Behaviour that does so, which is the Asker Behaviour.

  • Select the NPC you just placed to open its Properties in the Properties panel.

  • Change its Behaviour to "Asker".

Tip: Don't hesitate to collapse sections in the Properties panel when you don't need to use some of them.

C) SET UP THE ASKER BEHAVIOUR

You've three main things to set up in the Asker Behaviour. Make your NPC asking for something to bring it back.

  • The displayed Name of the NPC (A)

  • The displayed Question of the NPC (B)

  • The displayed Answers of the NPC (C) (up to 4)

Tip: Question text has a character's number limit, so be aware to not exceed this limit.

Advanced Tip: You can use Rich Text to customize your text so the main information is highlighted.

D) ASKER BEHAVIOUR ADVANCED SETTINGS

First of all, we want the Question to be asked only once. So we put Only Once as "True".

When a Player select an answer, a Message is Broadcasted. To edit each answer Message (so we don't confuse it with other Messages), just click on "Edit Logic", and edit the A1, A2, A3, A4 messages sent as you want.

Tip: Answer 1 message that will be send is A1 Message sent; Answer 2 is A2 Message sent; etc.

E) YOUR NPC IS PREPARED!

👏 Well done! You've finished the 2nd step of ◑ Your first RPG Experience Tutorial ! You can go now to the 3rd step of the Tutorial: 3: Create your Enemy!

Last updated