Download

Array to UMG

I just got ahold of the Invetory system that’s available under the learning Tab from the Marketplace. I’m partially through the tutorials, but I was wondering. Is it possible to use Text instead of an Image in the UMG Menu? I’m not sure if I’m going to use Images much for my items, but there will be text no matter which way I go. I want to print a variable name of whatever items are stored within an array to an widget so that the user can select it. There isn’t mouse support in my game so I am looking into ways to get my inventory establish with UMG and Gamepad support.

Yes, you can use text. Make sure your text field has isVariable set to true (checked).
You can use Set Text to set whatever you want in the text field. I have an example in my video series. I set text pulled from arrays.