Code:obj/Enter//you can name this whatever you want.
//this is the bmp you choose so the picture you want it to be you have to specify.
Click()
usr << "You enter the game."
world << "[usr]/has Login"
usr.loc = locate(1,1,1)
Problem description:
I looked all over the DM Guide and i cant see anything wrong with this code. When i am login to my game i use this code to enter. It does not seem to work, i dont go to my location i ask for.
ID:264149
Jul 31 2008, 7:30 am
|
|
Jul 31 2008, 8:03 am
|
|
DM tags? Either way, with what I can see right now, it's an indentation error.
|
In response to Jeff8500
|
|
no i just made an mistake when posting it up, This is the real code.
obj/Enter |
In response to GrimmJore
|
|
DM tags!? I can't read it very well without DM tags, especially if you have green font there. Either way, it looks like you forgot a " at the end of that text, a pathetic mistake that proves you haven't read the DM guide (unless you messed up on this post, too!).
|
In response to GrimmJore
|
|
That looks like it should work, surely you are not just already at 1,1,1 since that is the default location? Do you get the output message when you click the object (maybe you don't actually have the correct one there, wherever that is)?
More info, Grimmy. And yes, make sure to post your code between DM tags, like so: <DM> CODE HERE </DM> |
In response to GrimmJore
|
|
GrimmJore wrote:
no i just made an mistake when posting it up, This is the real code. > obj/Enter If that's the entire code composing this object, I can think of one thing off the top of my head -- the object has no icon, which means you won't be able to click it. DM has a variable named mouse_opacity which defaults to 1, meaning an atom can only be clicked where the icon is not transparent. If my guess is the case, you should either give the object an icon you can click on, or set this obj's mouse_opacity to 2. Other than that, we'd need some more information. |
In response to Jeff8500
|
|
Dude i did with my other key Grimmjore Check the second post
|
In response to Mobius Evalon
|
|
What Else Do you need?
|
In response to GrimmJore
|
|
Describe the situation. What exactly are you doing (and where), and what is the result? See my previous post, too.
|