how to get my char-ref into any blueprint

I think this is the dumbest question i asked yet, but how to get my char-ref to any other blueprint actor to use!.. I’m trying to stay away from YT tutorial for things that seem easy like this, but YT didn’t even answer my question… so i want to get my character to teleport when it collide with another actor but i can’t get it to do it!

Hey @Grespy1!

All you have to do to set a reference to your player’s character is:

GetPlayer (out in the open) → CastTo (Whatever your player character is, like BP_ThirdPersonCharacter, then as that, promote to variable! :slight_smile:
Let us know if there’s anything else we can help with!

@Mind-Brain
i tried that before it didn’t work
this is my blue print and the error it gave


I know i can just put interacting player to the target but i wanted to try with the reference

I gotchu, Also dont feel bad for forgetting things, what i would recommend is having everything that you can think of as a BP pre-scripted on another project or even on the project currently in use and then go ahead and have it saved in a back up level ready to go so you can copy paste and you dont have to spend hours and hours remember how to do stuff that even smartest people can get stumped on. I was stumped on a simple line of code on how to change a material instance and it was as easy as setting it to something else. Take time to rest and come back, sometime you can just go oh yea i can do that!

Of course with this code I would recommend you go ahead and add a do once otherwise if you have the trigger box too close you will end up with a infinite loop which could have the chance to crash the project, and if you dont save… gg