I have VFX for when the enemy is under attack(like electric shock), But when multiple enemies are under attack the vfx just appear on one of them. Why? what event should I create for this purpose?
Please! Guys Reply
Try to use object variable and for each object event.
For Each Object Enemy:
If enemy is under attack : Do =1 to object variable of enemy
For Each Object Enemy:
If object variable of enemy =1 : Create VFX in position of enemy.X() and enemy.Y()