I’m trying to gain access to a default MyCharacter blueprint user added variable, in a UMG widget blueprint - I’m following the UMG tutorial:
The project was set up from the default Third Person blueprint project template and no other changes have been made other than as below:
I opened the pre-generated MyCharacter blueprint, and added new variables “Char_Health” and “Char_Energy” (floats), gave them default values, then saved and compiled. I then created a new Widget blueprint, added a progress bar as per the tutorial and in the progress bar details, selected “percentage > bind”. In the graph view that opened, I added and connected a “Get Player Character” and a “Cast to My Character” node as per tutorial image. At this stage, I can’t seam to find the MyCharacter blueprint variables that were added. If it makes any difference, the “Cast to My Character” output pin shows “As My Character”, not “as My Character C”. I’ve tried saving, compiling the widget, and selecting “Show Inherited Variables” and setting “Context Sensitive” on and off. Does anyone know what I’m missing?
Any help would be great…