Majesty Gold HD

Majesty Gold HD

Customize Majesty!
Create and upload new Quests and Mods for Majesty HD!
In a while loop, spawn unit can't mass spawn
I am trying to mass spawn monster while in a while loop. Basically, we do a random number, which is set to count, and then while count is greater than 0, we spawn a random monster. In order to spawn these random monsters, we do another random number, and spawn a specific random monster when it's number is picked.

Logically this should work. But for some reason, it returns after the 2nd spawn "SpawnUnit could not make out spawn type "xxx"". This is really strange and frustrating, may have to do a workaround or find what's causing this error