No the change between range and close attack works fine with the Line of Sight behavior. The problem ist that the AI`s triggering to simultaneously. For example, they have to diferent Meele Attacks. The normal attack and the jump attack, the random change with choose one of them works fine. But the time they have to wait to set the AI is always the same for all Enemys and not diferent for each Enemy. Dont know why.
Trying to explane:
The line of sight is near the player. So they have to choose make Meele attack or make jump attack for each. And it will repeate that every random second. Some of the Enemys make jump attack and some of them make meele attack. That works for each one. But all of the Enemys that jump, jump at the same time, and all of them how make a meele attack, make it at the same time. i have addet a wait random time in the same line like they choose which attack them make but they always ceep making it simultaneous.
It dosent hurry. I`m happy that you help me
Hope you understand what i mean.