ID:179159
 
Ok i found a good example for a room to start in, the only problem is the exit's, i have one error and i can't figure out what. This is the error it says.

Start.dm:10:error:Move:bad proc

this is the line the error is on

if(Move(locate(north_exit,south_exit,east_exit))) //jump to the map or whatever

this is probably a very simply spotted mistake but if some one could help me i'd appreciate it.
Daemon5532 wrote:
Ok i found a good example for a room to start in, the only problem is the exit's, i have one error and i can't figure out what. This is the error it says.

Start.dm:10:error:Move:bad proc

this is the line the error is on

if(Move(locate(north_exit,south_exit,east_exit))) //jump to the map or whatever

I see one problem, unrelated to this: You're not using locate() correctly. Calling locate() with 3 arguments is like calling locate(x,y,z). It returns a single turf.

The reason you're getting the bad proc error is because your proc is probably not defined under a mob or obj. Move() is only a built-in proc for atom/movable, which includes the obj and mob types, but if your proc isn't defined as belonging to a mob or obj, then it's a global proc. Which is to say, we'd need to see more of your code to find out where this line appears.

Lummox JR