Random Image in Widget (HUD/MENU)
So im making a menu for my game, and i want at the bottom left a array of various images to appear, i searched it up and only got array tutorials, wich didnt help at all
I dont mind if you explain it with array's but i'd really like to know how to do it, and i'd also prefer with images as im not really experienced, thanks!
asked Nov 10 '18 at 09:35 PM in Blueprint Scripting
An easy way to make newly added images push each other forward or add on to the end of a row is to add them to a Horizontal Box container widget with the Auto spacing rather than the Fill spacing option. Also how they displace each other or add onto the end can be controlled by setting the alignment to Left, Center, or Right.
To add an image widget you can use Create Widget node then use the output pin to set which image it is, which you can get from a Data Table or an Array.
answered Nov 11 '18 at 03:35 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here