So i have a weird question/anoying issue to do with using Structures & Actor component as shown in the linked image: https://i.imgur.com/bAJdnG1.png it’s jsut a basic example of the issue, as you can see im jsut updateing the current health when i use the potion, anyway thats not the issue the issue is the other variables in the SET, as they will be set to 0.0 aswell, what im wondering is if there is somthing i can do to stop or disable those pins from being altered or is the only way to stop that is by linking them the GET variable???
If the above is a struct, you need to use it like so:
Which should solve both issues. I believe this particular thing has nothing to do with components.
that pin options seems to be what im looking for but seems that it isnt a option for SET and GET so jsut means need to add a extra step being MAKE (Structure name) and link to the SET as that has the pin options thxs Everynone
if anyone knows how to get the pin option to show on SET and GET would love to know other wise gona have to stick to this work around XD better than having WIRES all over the place XD
so jsut means need to add a extra step being MAKE (Structure name) and link to the SET
Nah, have look at my pic. The SetMembers
node already SETs values that were exposed via pins. That’s the whole point. There’s no workaround, this is how you work with structs. The pins are exposed for Break
and SetMembers
nodes.
No need to make struct
or SET
anything. At least not in the example you provided. Things get a tad tricky when you start working with arrays, nested arrays or maps.