1.) I tryied Actor and Character BP, both of them didnt worked.
2) See Pict.
This is the Sword BP. Here i can cast without any problems to my Firstpersoncharacter. But from this system as a Solution i want that the enemy BP shall also do some actions. but this “SwordBack2” has no access. Casting doesnt work.
Well, first - you can’t just cast it and give the cast value to different exec - you have to connect “Cast to BP_CharacterAI” into main stream(Or into the main stream, or the exec pin of BP_CharacterAI to exec of SwordBack2.
Also i can’t understand double check in “Cast to BP_FirstPersonCharacter”, and then Hit Component check. Also first branch don’t have any purpose, but whatsoever. Try to do this first, because that what i can see right now.
(also please give full code of line trace)