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

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 ...

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