I was testing a little AI, to shot when Distance between the Enemy and the Player.
I have a Counter, i call it to "Time", to add 100 * Timedelta when variable "AI" is equal 1.
When variable "time" => 50, the enemy start to shot and when "time" > 100 time goes to 0.
The problem was:
When the layout have one more Enemy with AI = 1, not all Enemys shot, and i don't know why.
If i put a For Each Object, doesn't work too.