What is the optimal way to handle the AI of enemies?

Just read the post, thanks for sharing!

Although it doesn’t quite dwelve into the issue at hand. For once, I did notice this short:

This perhaps would count as a clue as to not have such events handle too much code upon signaling. Perhaps the method I suggested of waiting for Heartbeat and checking if each enemy could run is indeed faulty. That leaves me with the option to use Parallel Lua and have multiple while loops running?

1 Like