ID:179597
 
I dont know why my tag to go into a town doesn't work.
This is what i have
turf
town
icon = 'town.dmi'
Enter()
usr.loc=locate("T1")
and on the map i have a turf that is tage "T1"
and when i go into the town it take me to a black screen and i dont know why it does this
so can someone please tell me why it does this thanx
You're not using ..() here is how the enter part should look

Enter(mob/M)
..()//This is what you need
M.loc=locate("T1")
In response to Nadrew
Nadrew wrote:
> Enter(mob/M)
> ..()//This is what you need
> M.loc=locate("T1")
>


Entered() would work even better.
In response to Air Mapster
True, though in this case I don't think it would matter much.
In response to Nadrew
The code you showed me didnt work it still takes me to a black screen and i cant get out of it
this is what i used
turf
icon = 'Town.dmi'
Enter(mob/M)
M.loc=locate("C1")
That still doesnt work
SO can some one please help me
Thanx
In response to Greg
Well i fixed it i guess. I really dont know what i did but when i ran it, it worked just fine