Almost a year ago I was attempting to make a roguelike dungeon crawler, and posted a thread about roguelike movement - i.e. enemies moving when and only when the player takes an action. Since I was pretty new to Byond then, that project predictably fell flat on its ass due to the complexity of it, but now I'm trying again with more experience under my belt.
Again I hit upon the problem of the movement, and remembered that Garthor very kindly posted the code for an action schedule which would accomplish what I needed very nicely. So dug up that old post ([link]) and implemented that. I understand how it works in principle, but I can't work out how to handle enemy actions in it. So Garthor, if you see this, could you give me any pointers? If anyone else can help after looking at Garthor's code, that would be greatly appreciated as well :)