Adding Array Element with Default Values?
I'll try and keep it as least confusing as possible. Basically I have a struct array and inside each struct is a Date Time and an array of 14 objects. In the app, each new day another element is added to the struct array, but the only thing that changes is the Date Time. Does just using the add node do that without needing to define the values?
asked Jul 27 '16 at 01:36 PM in Blueprint Scripting
so you are asking if the DateTime variable of your struct will be automatically initialized with the current date? Short answer: Nope. But you can try it out for yourself too :)
There is no effort to initialize your struct at all, just set your values in MakeStruct..Node. The Array does not know what you want to do with your Date.
hope that helps, Marooney
Follow this question
Once you sign in you will be able to subscribe for any updates here