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

Displaying levels and experience in the pause menu

At this point, if you test the build, the party members will gain experience from battle and level up accordingly (you will be able to tell by watching the stats grow if a party member has gained enough experience to level up), but we will not yet display the proper level or experience points of the party members. We can easily do this by binding these values to our pause menu. Navigate to Content | Blueprints | UI. Open the Pause_Main Widget Blueprint. In the Designer view, select the Editable_Soldier_Level Text Block on the right-hand side of Soldier Lvl that we created in Chapter 4, Pause Menu Framework:

In the Details tab under Content, create a bind to that text by clicking on the Bind drop-down ...

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