Cast not working

Hey Guys,
I tried adding a BTT that increases the speed of my AI, but for some reason the cast to my AI guard character always fails (printed strings at various points and that’s how I found out).
So any Ideas on how to solve this problem.
Here a screenshot of the problem (sorry for bad resolution for some reason photoshop wouldn’t make it high res)

Thanks in advance

The Owner Actor you get as part of Receive Execute is usually an AIController so cast to that first, then call GetControlledPawn or GetPawn (depending on the version you’re using) on it and cast that yo your character class.

Also, depending on the version, you might have alternative, AI versions of BT events available, like Receive AI Execute that supply you with owning AIController and a Pawn right from the start.

Cheers,

–mieszko

awesome works perfectly thanks a lot mate whould have never guessed that :smiley: