proc
Populate()
sleep(rand(20))
var/spawnE = list(/mob/Enemies)
if(prob(70))
var/mob/P = pick(spawnE)
new P
P.npc = 1
Populate()
runtime error: Cannot modify /mob/Enemies.npc.
proc name: Populate (/proc/Populate)
usr: null
src: null
call stack:
Populate()
: New()
Problem description: This should be a breeze for those who can put mobs (In and off the world) in a list, because thats what it is.
Also, that creation should look something lie this:
You need to do it that way, I think. You can't make a var into a list just by wishing it... you need t ocreate it as a list.
--Vito