Setting the equipment screen Text Blocks

Since we know that the equipment screen has Text Blocks on the right-hand side of the Weapon and Armor titles, which we created in Chapter 5, Bridging Character Statistics, we want to bind these Text Blocks to a text variable that will hold the names of the weapons and armor that we are equipping. Let's first navigate to our FieldPlayer Blueprint Event Graph, and create a text variable to hold the soldier's weapon name. We will call this text variable soldierWeapon:

Setting the equipment screen Text Blocks

Next, navigate to the Pause_Equipment Widget Blueprint's Designer view. Select the Text Block on the right-hand side of the Weapon title, navigate ...

Get Building an RPG with Unreal 4.x now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.