07-31-2016, 10:16 AM
Yes. Your problem stems from an assumption you've made that the code runs asynchronously and independent of the game loop. But that's not the case as BP said. The ego function will have to run every single game-frame until it returns (or reaches the end of control).
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout