Updating TextRender via input not working

cribbin
Wed, 27 Mar 2024 13:25:51 +0000
Programming & Scripting

Hi, I’m a super beginner and just trying a simple BP sequence on a Pawn where a “score” (int) increments on a button press, the int is then converted to text and sent to a TextRender on the Pawn via Set Text. Thing is, I can’t get this to work on a button press and don’t understand why. It works as expected on Tick or BeginPlay, but of course I don’t want it running automatically. Input actions are set up correctly because I’m also printing strings to confirm the number is changing, but the number doesn’t change in the TextRender. So basically, why can’t input events manually update a TextRender?

The event graph:

1 post - 1 participant