Cast To Blueprint_C is not working
I have a major problem. A game me and my friend are working on was working for the most part but now we are adding new items to attach to our player (not a 3D game, so can't use sockets). The issue is Casting. We can not cast to a new item like we did before. The UE4 documentation does not solve this problem because UE4 will not let me create a variable with a _C at the end of it. We created this node before but we forgot what we did. I've tried many many things to solve this. Does anyone have any ideas? Thanks.
asked Nov 14 '14 at 05:26 AM in Using UE4
What do you want to cast to where? I only see a general "Cast to Actor" Node. Normaly you need to take a variable or class and pull out the return pin of it. In the menu that pops up you should find the "Cast to bla" Node that matches your Class. If you can't find it, it could be that the Contest Sensitive box at the upper right of the search window is unticked or that the whole thing is broken again.
It's an issue that the Blueprint System can't find some cast nodes. If this is your problem, take a look at this question:
it tells you how to fix it.
Here is a picture on how to create the cast node:
You can do this with every other class refence.
In your BP you showed me, you made it with the return value of the For Loop.
So you're trying to create another "Cast to Rake"? If so then Click and Drag from the Array Element output of the ForEachLoop node. That should pop open the "Actions taking" menu where you can then select "Cast to Rake" or whatever actor class you need to cast to.
answered Nov 14 '14 at 07:47 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here