Download

C++ script I wrote to access Slate UI variables easier

I have the code here, along with a tutorial on getting it started (see link below)

Basically the script looks at a Widget Blueprint, accesses all the components and stores the ones promoted to variable into a list (different lists for different types, such as ProgressBars, Textblocks, etc). Then you can access a variable one of the lists (for instance, the progress bars) and easily set values, like so:
healthBar = *uiScanner->ProgressBarVariables->Find(TEXT(“HealthBar”));
healthBar->SetPercent(1.0f);

Let me know if you find this helpful. I’m a newb, and there may be another way, but this is what I’ve come up with for now. I may create a better interface later.