List actors in UMG
I have an array of "props"
and i want game to create buttons for each one of them like this:
and after each button press i want this to be called
Sorry for bad english im not a native speaker.
asked Dec 16 '17 at 10:11 AM in Blueprint Scripting
You have to create the button in a separate widget : create an Int called Index and make it visible (can be exposed on spawn if you choose to create the button manually). Put as many instances of the button on the main widget. Now get what you need from the button widget (cf picture). You have to Get all the buttons added in the main widget. Using Tick is fine but I would recommend using BP Interface.
Follow this question
Once you sign in you will be able to subscribe for any updates here