Hello, I’m making an enemy that, when killed adds health back to the player. When I cast to the player, it asks for an “Object” as well, but everything I connect causes an error.
What is the proper node to use?
Thanks
Hello, I’m making an enemy that, when killed adds health back to the player. When I cast to the player, it asks for an “Object” as well, but everything I connect causes an error.
What is the proper node to use?
Thanks
You must have made your “BP_Player” from a different blueprint class. Check and see what its parent class is at the top right corner of the BP_Player editor. If it is NOT character, which that’s what this error means you can do one of two things.
OR
“get player pawn” worked like a charm. Thanks!
Awesome! Yea, gotta watch out for those things, can be tricky like that. Glad it’s working. Can you mark this as the answer to close this question out? Thanks