ID:917670
 
i tried with this:
obj
Characters
Person1
icon='turf.dmi'
icon_state="person1"
density=1
Click()

But when i click it it doesn't work like i want it to. where's the problem
Use the dm tags to show your code, cuz im not really getting you
obj
Characters
Person1
icon = 'turf.dmi'
icon_state = "person1"
density = 1
Click()
//ur stuff goes here


Well the click doesnt seem to be doing anything WHEN you click the obj

obj
Characters
Person1
icon='turf.dmi'
icon_state="person1"
density=1
Click()

Guys when i click on the obj it doesnt put me straight away in the game.. i don't understand
In response to Beppinoman
Use the dm tags. <-dm> </dm-> without the -'s.

Please include more of the code and more information on your issue.
Ah, double post.
In response to Beppinoman
Currently you have an object, whose icon is a turf whose state is a mob that when you click on it, nothing happens.

The stuff that happens when you click on the object is whatever you write tabbed under the "Click()" line, you have nothing there, so what did you expect to happen?

if you had
obj
Characters
Person1
icon='turf.dmi'
icon_state="person1"
density=1
Click()
var/mob/M = new/mob(locate(1,1,1)) //change this to the coordinates you want to start at.
usr.client.mob=M
..()


Then at least you could expect a new mob to be created, located at 1,1,1 which is then set as the mob for the client for whoever clicked on the button (usr).
In response to Beppinoman
Thank you so much, but now how can I make appear the first map of selecting character to the original one ?!
In response to Beppinoman
Use the guide and tutorials. This section is for legit issues. These guys aren't going to program your entire game because you don't know how.
No is just this problem and thats it please
You are nowhere near able to make your own game because you don't understand the basics of coordinates, procedures, etc. IF you don't know even the very very basics, then at best what you are doing is hackily modifying a different source.
no is just because im new making a game
But you don't seem to understand the basics about what you are doing, you dont even know that you need to put code inside of the Click() call in order to make a click do something. The DM guides explain in good detail how these things are supposed to be formatted and we can't re-explain these basics to you when they are already well documented.
Ok im sorry guys.
But if u help me on this it will be great then im going to learn how to make a game. thank you
thanks