Error on Get Controlled Tank

I dont understand this error:
Return Value of type Tank Object Reference doesn’t match the property ReturnValue of type HOTRELOADED Tank 1 Object Reference

It shows up when building on the Get Controlled Tank blue print element

I would suggest you right click the node and select refresh.

1 Like

Thank you its good to know i can do that.

I replaced it but it still didnt work, Then I moved this into public in the Player Controller and it worked:

UFUNCTION(BlueprintCallable, Category = “Setup”)
ATank* GetControlledTank() const;

I thought blue prints could somehow read protected routines but I guess not

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms