How do I get the display names from enum array?

I’m using a ‘Make Array’ node and plugging it into do a line trace for objects (in to the ‘Object Types’). I need to query the names of the WorldStatic objects that the enum array is holding.

103280-enumarray.jpg

If I do a forEach loop on this and try to print the names it just gives me the ‘WorldStatic’ name because it is just an array of enums. How can I get the objects that the enums represent?

Hi patch24,

I am a bit confused as to what you mean. When you plug in the enum array to the linetrace, the array is holding only the information of what types of actors you want to be able to trace, not individual actors. If you use the break hit result node from the hit result pin, you should be able to get the display name of a hit actor from that. Is this what you are looking for?

Gotcha, I think I misundersood how the Make Array node is being utilized. Thanks!
-p