String to Select Object Material, How?

Hello, I would like to turn a variable string to select a light function materials by the name of the string

how do i do that?

Hello.
Are you sure you want to do this ? This seems like a weird way of selecting stuff. In my opinion, you should go for a better selection logic than that.
But if that’s really what you want to do, you can use get display name to get an actor name as a string, and then you can compare this string with equal (string) to test a match.
Would that help you ?

I’m using the construction script to dynamically insert some static meshs … is a list of examples … each static mesh has a normal texture material and an opacity texture with the same name … but the difference is that one starts with SM_ to Static Mesh, N_ for texture and normal map O_ for Opacity …

As I am making a gallery of examples like to select the static mesh and automatically I have build the material and the spot light … but i can not to set the values of textures for the spotlight function and the material by name …

I can build the name of the reference using the Object to String but i can not fit the Node Blue Print on any node of textures as incompatible with a string …

Get it?

How can I turn the node of the string to fit it into a node of texture material or texture function material of a spotlight?

I’m using the construction script to dynamically insert some static meshs … is a list of examples … each static mesh has a normal texture material and an opacity texture with the same name … but the difference is that one starts with SM_ to Static Mesh, N_ for texture and normal map O_ for Opacity …

As I am making a gallery of examples like to select the static mesh and automatically I have build the material and the spot light … but i can not to set the values of textures for the spotlight function and the material by name …

I can build the name of the reference using the Object to String but i can not fit the Node Blue Print on any node of textures as incompatible with a string …

Get it?

How can I turn the node of the string to fit it into a node of texture material or texture function material of a spotlight?

Hello I am trying to get the reference of a static mesh array in order to make animations … I tested the BluePrint entering a static mesh in any screen and it worked … But when I try to catch the static mesh of an array I created in construction script does not I can find the reference … what can it be?