Casting not receiving variables?

Hello guys.

I’ve been following through the 3rd Person game tutorial from Unreal Engine YouTube channel, and everything went smooth, but when I tried to Cast my Character into the animation blueprint to get a Variable to see if my Char was punching, the variables it shows me are the same at the anim blueprint :open_mouth:

I’ve even tried to cast to MyHUD (and I created some variables like Test1) but I still get the animBP vars.

What have I done wrong? I’m sorry, I’m new at this.

Thanks in advance!

Hi UNATCOPres,

You have ‘Context Sensitive’ turned off, so it’s not showing you actions based on the wire you are dragging from. Turn that on to see things you can do with a MyHero reference when dragging off of the result from the Cast node.

Cheers,
Michael Noland

Hi

Yup, I forgot to mention that not even with Context Sensitive I get my vars. I get a lot of data, like the cameras, even the timelines, but not my vars :frowning:

PD: The var I want to see is “IsAction?”

OOOOH! I had to make them public! Nevermind, I just realized that!
Thanks anyway! :smiley:

Nevermind, I’m a fool JAJAJA Need to pay atention to wires!

Its interesting, you didn’t used to have to make vars public until recently. I don’t know if I like it this way round.