Widget switch won't change index.
Trying to make the hud appear different depending on what/where you click. For some reason my widget will not switch. The index is set in player controller and then the controller calls the event which takes that number and sets it to the new index.
It's saying "accessed none"
Any help appreciated, thanc.
Figured it out; instead of using the hud as the reference, I had to use the widget switcher as a ref. Then change it all in the player controller. Instead of changing the variable in player controller then calling for it in the hud.
You should use GetOwningPlayer instead of setting a new controller variable. Ensure that "Owning Player" is set when you call "CreateWidget".
answered Apr 06 '19 at 09:17 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here