proc |
Problem description:
The code doest bring back the mobs i killed :/
Code:
Problem description: The code doest bring back the mobs i killed :/ | ||
#1 Aug 7 2012, 5:38 pm
|
|
This only works for /atom/movables present on the map at runtime. If you're not deleting them or if you're generating mobs using some sort of spawn tile then it won't work.
| |
#2 Aug 7 2012, 5:48 pm
|
|
No I actually place the mob on the map
| |
#3 Aug 7 2012, 5:53 pm
|
|
Are you initially calling RespawnWorld() somewhere?
| |
#4 Aug 7 2012, 6:01 pm
|
|
No
| |
#5 Aug 7 2012, 6:14 pm
|
||
Call it on new world?
| ||
Should spawn() that call off, otherwise world/New() won't finish until RespawnWorld() finishes (and RespawnWorld() should be a loop so it'll never finish).
The original poster shouldn't be using recursive calls for this, but a while() loop.
| ||