turf
start_screen
icon='Title 1.png'
start_game
Click()
usr.loc=locate(/turf/start)
the error is this
screens.dm:6:error:/turf/start:undifined type path
ID:263495
Feb 19 2007, 1:30 pm
|
|
Feb 19 2007, 2:04 pm
|
|
Ugh, stay with your other thread. I didn't write that code up for you to copy. I thought you would understand that that was an example! As I aid before, look under the resource panel and click DM Guide.
|
I could be wrong, but I don't think that's a legal statement. There could be potentially many different /turf/start turfs... A safer way of going about this is to find an exact location like this
var/turf/start= locate(x,y,z) // of course x, y, and z are the coordinates to the spot... |
In response to Goten84
|
|
It's valid usage, and a bit of trend. There's only one /turf/start on the map, but if there were more locate() would just return the one it finds first.
That isn't very useful though, 'start' atoms are really just waste of objects if that's their only purpose; as you said, you can use coordinates instead. |
In response to Kaioken
|
|
turf and put start turf in place you want to go after click >.< |
In response to Kaioken
|
|
Most of the time I do use coordinates, it's just that was a demonstration I made for him on another one of his posts with the same topic. Also put, the perpose of it was not for him to use that excact code, but what he actually wanted to happen.
|
In response to Beatmewithastick
|
|
lol dude just try and read the DM Guide. It's extremely long but it helps a LOT, in your case it's a lifesaver.
|
In response to Beatmewithastick
|
|
Yes, I figured.
|