I have an EndGameUI Widget Blueprint, and I want it so that when it shows up, player movement is disabled. What I’ve done:
- I have a SetNoMove function in my Player Blueprint.
- I have created a Player variable (type Player, i.e. my Player Blueprint) in my EndGameUI Widget Blueprint
- I used GetPlayer to be able to call SetNoMove from within EndGameUI’s EventConstruct
Unfortunately, I am still able to control movement when the UI shows, and I get an error in my log “Blueprint Runtime Error: “Accessed None trying to read property Player”. Blueprint: EndGameUI Function: Execute Ubergraph End Game UI Graph: EventGraph Node: Set No Move”