spawning actors with values set right before spawning by the user

I want the player to create and name custom actors.

Example:

Player presses “custom” button

Widget pops up asking to type in a “name”, user types “Roger”

Player presses “Create” button

Player can now pick where to spawn the actor

Actor is spawned and when player looks at it, the name “Roger” is displayed above

  • create a widget with Editable Text and Text Variable
  • press Custom Button → show the widget
  • Type into Editable Text → have OnTextChanged push the value into a text variable
  • press Create Button → spawn actor (you’re super unclear here) → push the widget text into into the actor’s text variable
  • pop a widget over the actor, use its text variable to populated a text field (again, very unclear how this is supposed to work)

Hard to advise better without knowing the context. The above is generic approach. Not bad, but not great either.