ID:177412
 
I need a code to were when you click a pic (bmp file) the says "New Character" the will do a character creation. And it re-locates to user to an different area.

Write back ASAP.

Dcoder
world/mob = /mob/createchar
mob/createchar/Login()
src.loc = locate(5,5,2) //the location where you put the bmp file


obj/newchar
icon = 'newchar.bmp' //the name of the icon
Click() //when they click it
if(istype(usr,/mob/createchar))
usr.Createnewcharacter() //or whatever the create character proc you are using
obj/loadchar
//and the codes like the obj/newchar

hope that what you want.