Trying to use an Interface to change size of ThirdPersonCharacter Mesh in the Third Person Template

I am not sure why this code prints out invalid for both the cases. Invalid here will mean that the Mesh is invalid, right? If so, why?

I will provide all the necessary details about the situation if you want.

Thanks!

Hey @nmiles2go!

So what we’re looking at here is the “Actor Ref” is likely not being acquired first. Try putting a printstring there with actorRef passing into it, it should print the name of the actor before “Invalid” or “Overlap”. If that is not returning the name of the actor you think it should, there’s your problem!

Let us know if you need further help!

Okay I will try this and get back asap. Thanks Mind-Brain!

Yeah I tried printing the name of the actor ref and nothing printed on the screen. How do you acquire the actor ref?


Awesome! Knowing the problem is the first step towards solving it. Hard to answer a question without knowing the question!

So when you call this event, it will have an input pin. That will be where you pass in the actor to use!

Whats the actor ref for?
It seems like your trying to change the size of ‘Self’ In which case all you need to send through is a scale

I did set the input pin type to BP_ThirdPersonCharacter Object Reference. But since, the Actor Ref was being used in the BP_ThirdPersonCharacter Blueprint itself, i just needed a Self node to attach to the “Set Scale 3D” node as @Auran131 suggested. Thanks @Mind-Brain and @Auran131 .

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.