SpawnMob()
Posted: Fri Feb 27, 2009 7:49 pm
Hey LE,
I am using SpawnMob() to spawn a groundspawn but once it gets spawned in the world, it's not treated as a groundspawn in the game. If the groundspawn is spawned by world (it has a zonespawnentry), then it can be harvested fine. I took a look at what SpawnMob() does exactly, and it just calls AddSpawn to the zone, so I'm assuming somehow we need to do what AddGroundSpawn() does too? I'm not too familiar with exactly how spawns work yet, so I wanted to see if you had an easy or good way of letting the LUA function SpawnMob() spawn groundspawns.
Thanks!
I am using SpawnMob() to spawn a groundspawn but once it gets spawned in the world, it's not treated as a groundspawn in the game. If the groundspawn is spawned by world (it has a zonespawnentry), then it can be harvested fine. I took a look at what SpawnMob() does exactly, and it just calls AddSpawn to the zone, so I'm assuming somehow we need to do what AddGroundSpawn() does too? I'm not too familiar with exactly how spawns work yet, so I wanted to see if you had an easy or good way of letting the LUA function SpawnMob() spawn groundspawns.
Thanks!