Script by Salty_Pepper and Timmypowergamer
--------------------------
Description:

This is an advanced version of the Creature factory, meant for use with MonsterHunt. There are 3 improvements over the original.First, it allows you to set up to 16 different monster classes to be spawned at random. Second, it now has the ability to be toggled on and off by a trigger (only if bStoppable is set to True). Lastly, it has an optional FinishedEvent which is triggered when the last monster from the factory has been killed.

Note: for this factory to work properly, it must be used with RandomSpawnPoints instead of regular Spawnpoints. Also, if you choose to use a custom monster in it, make sure you compile it before you use it in the factory. If you already have Monsterhunt.u loaded into the editor, you must make sure it is not loaded before you compile your monster.


Installation:

To use this script in your map, simply open the script-randomcreaturefactory.unr file in unrealed, then open your map. Then add it to your map and save. It is a subclass of CreatureFactory.

Once the script has been added to your map, it will stay there as long as there is at least 1 in your map.

