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

Finishing the inventory screen

Navigate to the Pause_Inventory Event Graph. While Context Sensitive is off, bring in the Get Array Item from the Actions window by navigating to Class | Field Player:

Finishing the inventory screen

Once done, connect the Target pin of Array Item to GET so that you can get every item that is sent to that array once we populate the array in the Items Blueprint:

Finishing the inventory screen

Now that we have the array of items in the player's inventory, we will now loop through each element, and create an item from every element in the array. To do this, create a ForEachLoop by navigating ...

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