ID:140909
 
Code:
turf
login
icon = 'login.PNG'
Click()
src<<"login"
src.locate = locate(2,2,1)


Problem description:

workin the game up from scratch and havnt even put the save stuff in yet
i get this problem though

d2.dm:103:error:src.loc:cannot change constant value
So, what line are we talking about? 'Cause I can't find line 103 - I only count 6.
In response to Demon_F0rce
oops xD


its this line:
 src.loc = locate(2,2,1)
In response to RanEsu
src is the turf.

You can't move turfs.

You probably want to use usr (the person clicking) instead.
turf
login
icon = 'login.PNG'
Click()
usr<<"Login"
usr.loc=locate(2,2,1)

i believe this should do it