Adding Components to Spline

Right. There’s no point in storing copies of those signs, because every time you move or update the spline, everything gets regenerated.

So, on each regeneration, you have to actually set the sign text:

It’s just a text array, not a copy of the signs:

Okay. One last issue is during gameplay.
I will have a photo showing the setup.

Highway Sign → Location Text Variable → Location Widget →
Location Text (As Variable check box ticked) → Target input of Set Text get → index from the Spline into index input of get(copy).

I am away from my computer rn, but hopefully that explains enough what I had done.

When I approach the Highway Sign during gameplay, I want the widget containing the text variable to display on the screen.

No issues there; it’s just that the text on the highways shows the default “Highway”.

Does the sign show the text you specified in the editor? Then it should be the same during gameplay.

No. It just shows the Default “Highway”.

Here is the result:

And here is my Setup.

Ok, I have no idea. It works for me.

Can you do a pic of your entire code? Maybe I can spot something…

This one is from the Highway Actor. Although I do not thin it is the cause of the problem, but rather it’s in the Event Begin Play for the Spline.

Sorry, no idea. You seem to be setting text in a variety of places and I don’t know the connection between them.

I would assume, just setting the road signs would be enough to make sure it works.

In the singular highway Actor itself, it works. Put them in a Spline however, it won’t work the same way. I thought the Actor’s Text variable would be overwritten or replaced by whatever text you give it in the Text Array.

Yes, it will.

What about the Event Begin Play for the Spline? What should I do there?

I don’t think you need anything there…

I realize what I’ve done wrong. You have provided me with the Answer the entire time. it was staring right at me in the face, and I was busy making the text appear as a part of the HUD.

Which is redundant if I have the Roadway signs.

I’ll Just put the Text render component there as you demonstrated!

Now the Roadway will just display the names in game rather than in HUD.

It was a matter of taste, and I just think I like this result better.

Thank you for your help; Thank you!

Yes, I think it looks better, eh? Because the text is on the sign in real life too… :slight_smile: