Very nice and useful script, BangaBob. I try to use it in conjuction with High Command module, High Command Extensions by DomZ to be precise, together with team switching feature, and I've got one question/request: can You make in the future a version of this script, which will spawn/delete and respawn enemy units in EOS zones not only when player by himself is closing to EOS Zone, but also when any units of his side are doing this? Because as a High Commander I spent most of the time deep behind the frontlines commanding my troops, so I want mainly them to activate/deactivate EOS zones, not by myself.
Also, it would be nice to have an option of spawning in EOS area not only the random units taken from the pool defined in OpenMe.sqf file, but also units placed there earlier, in the editor (with their waypoints and heights, etc.).