i have a wierd Problem. If i place my Enemy (Blueprint) in the Level, all works fine. He is Shooting at me, i can destroy it. But if i placed another one in the Level, then all enemies react on the first one.
To be clear: If i shoot at Enemy 2 or Enemy 3, only Enemy 1 (the first one that is placed) reacts. If Enemy 1 is dead, all others react on the Blueprint of Enemy 1.
I thought, if i place one or more Characters (AI) in the Level, everyone is using there own blueprint-instance.
Only the Shootingfuntction work for all. But the take damage and die sections not.
I solved the Problem by myself. I have used the fals hit pin.
For others, they are new to this: If you want to damage your AI or something, use Break hit Result. Then you can drag off a pin from Hit Actor and use Cast to.
Then it work. Because on the hit actor node, the “reference” to the actor thas was hit is the result. I used the other comp node. Here i can’t casting to, because the Editor say: You don’t Need to cast…is already a item. ???
So i have used “get all actors” and then over the “get” i have fired the damage Event on all enemies, but the index was 0, so only the first one will reacts.
Hope this is a Little help for all newbies like me.