Group of AI shotgunners, only 1 fires projectiles?

Looking at your blueprint:

  1. You use GetAllActorsOfClass but use Get for only one AI
  2. This one AI is used to spawn the projectiles
  3. There is a timer which is looping a function which starts a timer(!?) which is then connected to nothing
  4. You do this in every AI character so maybe every character uses a Get 0 from the AI array and uses the same location
  5. There are disconnected nodes

Try to Cast to the Character after OnPawnSensing, Stop the movement and then Spawn the Projectiles. No GetAllActors. Define it for one. Test it.

1 Like