Problem with my RTS project

Hello, i started with a blank project and added fps, tps and topdow component. I created a BP_Character and two child class BP_Shogun an BP_Opnent. I tried using the on see pawn of the BP_Opnent class to print Hello when it see an instance of BP_Shogun class but the cast fail. Can you help me find the mistake?

Hi there @FrozenPontif,

Hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile: