ID:1266599
 
(See the best response by Jittai.)
Hello, How would I go about making a mob that spawns other mobs?

for example a rat den that spawns rats every now and then and then if the rat den is destroyed the rats no longer spawn?

Thanks in advance for any help!
Bloodocean7
Best response
Could make it an object that has a proc with a while() in it. From there you could control how many mobs it has out at any given time, or how fast.

With that proc you could make it loop from New() or just start spawning when people come near it.
I thought thats what I would do I was just making sure :)

Thanks a lot I just gave it a shot and It works great!

Thanks again!
Bloodocean7