Blueprints - Struct

Hi,

Dumb question, but I can’t easily find an answer through ISEs, does anyone know if you can set a struct with just one pin?

I have a struct for a character that has about 20 items on it and it may end up more, to keep having to break the struct and set members of the struct is time consuming. So I wondered if there was a way to just say “hey change all of your data, to all of this data” in one simple pin?

I have about 12 functions that all transfer data, It could be a long day if I can’t do it all in one go.

If anyone knows if you can and how you can, please let me know. Thanks!

Set the value of the entire struct variable.

image

Thanks, for some odd reason I didn’t think that worked; will try it now; thanks again.

Because I am using an array of stucts there is no obvious way to do this, so instead I have just created a function that does all the pins, I will just have to update it if I add anything.

I’ll mark this as solved though, Thanks!

Works with arrays, too:

image

Or, if you need to be selective:


Hard to tell from the description what’s needed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.