Adding NPC Actors
While taking a leisurely stroll in the underground and dodging or stabbing zombies can be amusing, let’s not forget the big bucks the king’s shelling out for us. We’ve got a rescue mission on our hands – liberate his knights from the Lichlord’s dungeons before they’re turned into undead abominations. Time to get down to business, my fearless developer!
In this section, you’ll create an Actor Blueprint that will serve as a prisoner your beloved thief needs to rescue (in order to get more experience points). To implement such a system, you will make good use of the Interactable
interface you implemented in Chapter 7, Using Remote Procedure Calls (RPCs).
Creating the NPC character
The NPC you will be creating is a simple, replicated Actor that will cheer when the player has interacted with it and will grant some experience points. The first things we need are the Animation Montages that will play the idle and...