Mercy me. An amazing number of attempts later, here is an actual spawn engine. It is not graceful and errors pop up, but it's about the best I can do. There is also a loot engine, but it is quite clumsy. II think it takes waaaay to much work to make a functional game and it would be easier with some basic blocks. Spawn engine, loot engine, quest engine for a start. Class trainers, skill trees maybe.The end goal is for anyone to be able to use templates to make a multiplayer game with quests and enemies in an hour. I would love opinions and comments.
Copy/paste 8 game logics, pick an enemy and you are done. You can easily adjust the spawn frequency, amount, and proximity, and also adjust the random range of each. The rest is done for you, just place the three possible spawn points where you like. Enemies will cross distance to find you and if they cannot, they despawn.
Try my game, please. You can edit and poke around. I tried to make multiplayer possible, but I'm not sure how that will go. This engine evolved over the course of making the game, so the script at the end is better.
SAND STORM