Hi at all,
I’ve got a WidgetBlueprint which includes a ProgressBar.
I called it ProgressBarWidget
.
I’ve an Actor, which got the loadingTimeSeconds
variable.
This variable includes for the action needed Seconds in float
. (The Actor needs X,XX Seconds to finish his Task)
Questions:
- How can I get the ProgressBar from
WidgetComponent
, which includes theProgressBarWidget
Class, to update the Progress with from the Actors provided variable’s? - How can I let the ProgressBar completely filled within given Seconds?
For example:
Given Seconds: 2,34
The ProgressBar should be filled every X millis (Show Progress) and finished after 2,34 Seconds (100% reached).
Widget Settings:
Function within Actor:
If I could get a Reference
of the ProgressBar
, which is within the WidgetClass
, from the Widget
(TestWidget
).
Then I might me able to Update the Progress of the ProgressBar
.
If I could’t get any reference of it, from the Widget
(TestWidget
).
Then It would be nice to know, how to attach an ProgressBar to the Actor, which looks like the Image under the Section “Actor Viewport” of my Post.
Actor Viewport:
I’ve made the Widget visible in Viewport, to show how it looks.
Normally it is invisible and just showing when the Function “Progress Bar Loading
” is called.
Thanks in advance for any helpful advise.