I’ve looked a several videos and answers but I still cannot get this to work. I was there was a issue with the fact that the variable was an integer and tried making it a text but I was still having trouble.
I will include all screenshots as well.
I have a game instance variable called ‘Level’ which is of type integer and is set to ‘instance editable’ with a default value of 99.
I have a widget called ‘LevelWidget’ which has a TextBlock called TextBlock_LevelNumber with some default text.
(See designer screenshot)
In the graph of the widget I’m trying to get the instance variable called ‘InsLevel’ and display it in the widget. The code here compiles but it does not display anything. I’m thinking its because its and integer and not string variable but even if I change instance variable to text it still does not work.
When I try to connect SET output to ‘TextBlock Level Number’ I get ‘integer not compatible with text object’
Any Help would be greatly appreciated.