How do I cast to another BP?

Hey everyone,

Im working on my game and need to cast to my save game BP, but i don’t know what node to link to the object pin of my cast node.

What do I link to this?

First you need to make a variable type of that targeted actor (in my image is svrSubClass).

57807-screen+shot+2015-09-09+at+7.03.23+am.png

Then drag and drop it as Set.

Finally you can connect it to the Cast to… Node

57808-screen+shot+2015-09-09+at+7.03.50+am.png

And if you are doing a save game, I would recommend to you my video…It was even made before epic cover the saving process in the documentation :slight_smile: so it is the oldest ;).

-m

If you want to cast the Blueprint the node is placed in to “savecoins”, then simply right-click in the empty space and select “Get Reference to Self” and connect that to the Object pin.