O'Reilly logo

Building an RPG with Unreal 4.x by Alan R. Stagner, Steve Santello

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. NPCs and Dialog

By now, you already have a player character by default that interacts with battles on the field, but the game is in dire need of non-player characters (NPCs).

In this chapter, you will create an NPC that will act as an information hub and shop owner. Since we have not yet given useable items and equipment to the character, or a reason for the character to have gold, the next logical step is to create a shop owner who will play the role of an NPC by talking to the player and offering the player business transactions when the player decides to interact with the NPC.

We will cover the following topics in this chapter:

  • Creating the NPC Character Blueprint
  • Interacting with the NPC
  • Dialog box setup
  • Creating an NPC welcome box
  • Adding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required