ID:174565
 
in my battle system, ideally the player should sleep(100-agl) and attack while at the same time the enemies sleep(100-enemy.agl). i call the sleep for the enemy efight() and the sleep for the player turn(). well its written:
turn()
efight()
this executes turn then efight. is there a way i can execute them at the same time?
Not unless you put efight() in turn() somewheres. BYOND has no support for multiple pieces of code running at the same time. If that happened you'd have lots of nice bugs to track down :).