Display moving Text at Location

I want to display information like the damage dealt by a critial strike or bonus gold earned near certain actors. The widget is supposed to move slightly, i.e. it should slightly move upwards and gradually vanish. I was able to display simple text, however, I cannot get it to move (I did not yet look into the vanishing part).

What I am doing currently is to use a Widget that contains the desired text/information, and which is created near the actor of interest. How do I make the widget move? Thank you!

I would make a blueprint that contains only the widget.

When a player gets hit, they can spawn one of these, which follows the player around, but also automatically fades out and destroys itself.

Thank you. However, this does not really solve my current issue, maybe I should have made it more precise. At the moment, I spawn the info text above a building that finished construction. The text conveys some info about bonuses thank to finishing the house’s construction. So the building is static and does not move. How do I move the text widget? I cannot set its velocity. Even when I add a Pawnmovementcomponent to the Widget and set its velocity to some value, nothing happens.

You can just have a timeline in the blueprint that moves the widget component upwards.

It might also be possible to do it in the widget itself.

Also the fade.

1 Like

That appears to be what I need, I will look into it, thank you very much :slight_smile: If it does not solve my issue, I will come back^^

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.