Hey can someone please please help me i have been trying for about 3 das now and the map is still black?
this is the that piece of the code.
src.client.mob = new_mob
var/turf/first_location = locate(1,1,1)
new_mob.Move(first_location)
del(src)
if anyone can help i'll give you a house on my game.
ID:149232
Jun 14 2002, 6:53 am
|
|
In response to Lummox JR
|
|
is there something with denisty at 1,1,1? if there is then get rid of it and it should work ^_~
~Aleis~ |
In response to Aleis
|
|
Aleis wrote:
is there something with denisty at 1,1,1? if there is then get rid of it and it should work Only as long as no one else is standing there. As long as he relies solely on Move() he'll have this problem. Lummox JR |
In response to Lummox JR
|
|
ok whatever you say ^_~
~Aleis~ |
If Move() ever fails, you're still stuck in null. This could well be what's happening here; try setting new_mob.loc directly.
If you can set it directly, then I'd find a turf where you want to put the user as a default, then try to Move() them to an area (so they'll show up in a free tile within that area); if that Move() fails, then just set their loc to the fallback position.
Lummox JR