Set variables of UStructs
Hi, I'm trying to set the values of variables inside UStructs.
I saw it's not possible to do so in blueprint, like Set Health and put the value; so I'm doing it from code. But even though it compiles, it's not setting the value to the variable. I'm being forced to do a constant Make MyStrucut from blueprint which receives a lot of variables assignation.
Is there any way to do this properly? I mean, just set a single variable.
asked Dec 29 '14 at 07:43 PM in Blueprint Scripting
In blueprint, Break the struct and then Make it.
It is messier than it could be, and Epic has recognized the need for a cleaner solution, but it works.
answered Dec 30 '14 at 05:51 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here