I am a brazilian programmer and I need some assistance, I am just getting the hang of it but I can´t find this one. I am making a countdown timer and for that I need to work with my ActorBP, he is the one making my time go down but in my widget it won´t appear so that I can see if it is working, I only want to see the timer go down instead of nothing. If someone has an alternate solution to what I did feel free to tell me or if I did something wrong also tell me, I am new in unreal and am not that good, this is my finishing work for this year of my programming school and a helping hand would be nice.
If this was too complicated for you ust comment so I can explain it a little better if I can.
What is ActorBP? Is it a player controller? Is it a pawn?
Widgets have owners, an owner is a player controller. If your ActorBP is a player controller, then in your widget call “Get Owning Player” and pass it as the object for your cast.
If your ActorBP is a pawn, then in your widget call “Get Owning Player Pawn” and pass it as the object for your cast.
I don’t know exactly what it is, but it’s not a player controller or a pawn, it is basically the rules of my game, for example, in my game there are platforms and triggers that appear and disappear, and my ActorBP is what says what platform to disappear and when they reappear.