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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.