ID:924632
 
im stuck i cant transfer from the character selection to the map as the icon.

obj Characters Person1 icon='turf.dmi' icon_state="person1" density=1 Click() var/mob/M = new/mob(locate(1,1,1)). usr.client.mob=M ..()

Any help will be great thanks


Use
 tags please.

Also, do try to keep it into one post when asking for help.
if its a character selection then you dont need to create new mob for the client instead use
obj
Characters
Person1
icon='turf.dmi'
icon_state="person1"
density=1
Click()
usr.loc=locate(1,1,1)
usr.icon=icon;usr.icon_state=icon_state
..()
ok my problem is : i created 2 maps, 1 is the selection character, 2 is the map. well is only show the second map. And no the firs one.
In response to Beppinoman
Then you might want to try locate(1,1,2).

Different maps result in different z planes.
ok it works now i just swap the two maps. Anyway i got another problem >.<'. when i click the image of franky on the selection of the characters on the next map is not appearing as the icon but as the image again
why ?
obj
Characters
Person1
icon='turf.dmi'
icon_state="person1"
density=1
Click()
usr.loc=locate(1,1,1)
usr.icon=icon;usr.icon_state=icon_state
..()