world |
Problem description:
runtime error: Cannot read /area/random (/area/random).tcontents
proc name: Spawn Mob (/monsters/proc/Spawn_Mob)
usr: the monsters (/monsters)
src: the monsters (/monsters)
call stack:
the monsters (/monsters): Spawn Mob(/area/random (/area/random))
the monsters (/monsters): New(/area/random (/area/random))
: SpawnMons()
: New()
I am using XML to store the mobs in a database and wanted to setup a spawn to randomly locate the mobs in a turf in the area.
I am attempting to recreate the area list, putting only the turfs in, then using this list to place the mob randomly in the area, but keep getting a runtime.
Any insight on what I did wrong ?
Thanks