Hello Guys !
Since a long time i try to receive from my hero damage from multiple enemy's source.
I would like to do this :
When an enemy is coming in Hero's line of sight, enemy do animation "attack" then deal his "damage" every ""his attack speed" seconde"(And subtract damage to health bar).
But ! when a second enemy is coming, this second enemy deal his damage with his attack speed. (And subtract damage to health bar)
I try lot of things with for each, array, while but always just 1 enemy deal his damage.
I hope u understand my problem.
Thx for help !