bp casting - object reference is not compatible
so I asked about using integers in other bp widgets in here and had another question but when I'm trying 2 reply there, the site states that I'm logged out o,o
howevr when I'm trying 2 do that, cast doesn't want 2 connect with the object I made saying that it's not compatible:
could some1 pls tell me what's the problem with that?
asked Feb 06 '19 at 10:06 AM in Blueprint Scripting
You can only cast to another class which is the parent of your object's class. Obviously. You can cast an Animal to a Dog if you know it's a Dog, but you can't cast a Duck to a Streetlight - they are irrelevant to each other. Here you are casting PlayerController to some
PS: Your Score is not an int, it's an object, as it's blue. Integer would be green.
answered Feb 06 '19 at 11:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here