Code:
loc = locate(/turf/start)
Problem description:
Code.dm:28:error:/turf/start:undefined type path
What does that mean?
ID:145658
![]() Jan 24 2006, 11:18 pm
|
|
You shouldn't be writing tutorials. He CAN use locate() like that. The problem is merely that he hasn't defined a turf/start.
|
well you can not use locate like that if you want to locate to the location start you will have to search for all turfs in the world and then use the turf start when you find it. But if you just want to locate to a fixed location just put the coridnets in ie loc=locate(10,10,1) that is the location 10,10 on the z axis 1
there is a good tutorial called teliportation found here http://www.riddlersoft.com/ByondPage.htm