Hey all, I hope everyone is well.
I get most types of casting, like when something crosses a trigger box, but I’ve been struggling with figuring out how I’m supposed to target cast. I’ve made a serious effort to learn this and I’m just missing something. Here’s what I feel like should work, but isn’t.
On event beginplay, I spawn a UMG menu, but I do it from my main actor. It’s important that the menu construction happens after certain things with the main actor. I assigned the menu to a widget variable called “Start Menu Widget”.
On event construct, I have the start menu spawn some menu music.
I spawn an options menu from the start menu when a button is hit
And finally I want to be able to turn off music from an action in the options menu. According to the UE4 documentation located [here][4], I believe I should be able to do that by target casting. Below is my attempt.
I would REALLY appreciate anyone willing to advise me on what I’ve done wrong syntactically. I have been at this for a very long time, and my failure to make this work is stressing me out. What goes on the other side of “target”. Am I even close to doing this right? PLEASE, anyone, at the very least, point me to reading material that is clear, although, actually telling me how to solve this specific problem would just be dapper.