Hello everyone, I’m trying to implement in my project a simple skill blueprint that makes my character able to generate a sort of “shock wave”, moving away and stunning the surrounding enemies.
First of all, I’ve created a new bp class that is spawned from the character blueprint by pressing Q key. This is it:
The following is instead the new class, the “shockwave” itself:
First it generates a fire impulse, then it takes all the enemies within a sphere (that has the same radius as the radial force component). For every pawn detected, it sets the bool variable “stordito” (that means “stunned”) as true. That var is used to temporary unlink (with a branch) the “Ai move to” node from the enemy blueprint.
Now, the problem is that nothing works at all. As you can see in the following video, it seems that the impulse is ok for one single enemy, but not strong enought to move away more that an enemy in a row.
So… am I missing something? Maybe there is some error in my blueprint?