Is there a way to cap the amount of enemy spawns for an assassination and hostage rescue mission? Some buildings on the Weferlingen map are quite large and can result in >100 AI being spawned in and tanking the server, and I doubt that was your original intent anyways. My best guess would be in kill.sqf line 47:
private _pos_number = count _buildingPos - 1;
to
private _pos_number = (count _buildingPos - 1) max 20;
or some other hard cap. The same logic for hostage.sqf as well. Is that on the right track?