Announcement

Collapse
No announcement yet.

Using structs in Find item in Array node in BP should return index of single connected split pin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [FEATURE REQUEST] Using structs in Find item in Array node in BP should return index of single connected split pin

    Kind of a long thread title I guess, but I think there should be a way to get values from a struct array when you know one of the values without using a for loop. For example you've got a scalar parameter struct array from a constant material instance (forgot the real name), but it has Name and a Float values. Let's say I know that the Name is Metallic. I then want to find out what index this has in the array so I can replace it by using Set Scalar Parameter.

    Right now I need to use a for loop to do this because if I try to use Find and Get it doesn't work because both values in the structs don't match. Or maybe it doesn't work if you split the struct pin, no idea.
Working...
X