In entirely BP tutorial I show you how you can make a scrollable list of clickable buttons from a String array on key press from the Character BP!
You can run any BP code you want when any of the buttons are pressed!
The power of what I am sharing with you is that you can so easily add new entries by simply adding another string to the String Array, either in defaults or during runtime!
Because the foundation of my UMG setup is a dynamic array, my tutorial is showing you how to make Dynamic UMG elements, that could be based on user input or runtime game conditions!
I show the entire setup here, with lots of pictures!
Many thanks to Nick Darnell and the rest of Epic for UMG!
To add to our Doc’s Team has recently updated and added some documentation for UMG and using it for different functionality! Make sure to have a look at !
Hi!
In the function CreateButtonAndSetText, I can’t seem to set the output variable type to Object, can’t even see that in the list. Any pointers on how to fix ?
I actually asked a question earlier on the forum but I believe is actually close to what I am looking for. I am trying to install an image border around my Hud using the widget blueprint section. I already have a decent blueprint thanks to a tutorial I found. I found a section that says image and a place where i can install an image, I have already gotten the checkered box to show up in game, just need to replace that with an image. I assume it’s something to do with the blueprint.
and here is the blueprint (I don’t need the floats yet, I will plug those in later.)
Edit: sorry wrong blueprint and i plugged one in just to show where it would be going, I believe the object return value needs to go into my hud interface somewhere but I can not for the life of me figure out where
Yes that work, but i was under the impression that black worked as a transparency. Am I wrong? because I have a black background for the bar, thinking that that would be invisible to the player.
lol, thank you, I had kinda figured out how to do that, I sort of have a habit of asking questions and then as soon as I ask the question on here I find the answer. we imported an alpha from photo shop and it worked out fine. It looked weird before I created a slate brush, but when I did, It looked like a normal alpha. but I do have one question, mostly because you seem to be the only one answering my questions about the widget blueprint editor and you know what your doing, I had created the blueprint and saved yesterday, I came back and my blueprint was gone (I know I saved). So after trying to find it and being unsuccessful, I decided to draw up a new one, but for some reason I cannot find the Add To Viewport node anywhere? Any ideas why?