How can I make it so select users have special icons, verbs, etc. The code I have is as follows...
mob/GM_Star313//gm is star313
key="Star313"//the key is Star313
icon = 'dw4hero red.dmi'//the icon given to him
icon_state = "GM_Star313"//tells the icon state
This is set after my "Choose your class." list. What it does is lets me in with my icon, but when I try getting in with my other key, it closes the connection to the world after I use the list and SHOULD be placed in the world.
What's wrong? Why is it wrong? What should I do to fix it?
My other problem is that my map is larger the 10x10 so the program uses small icons in the world, when I set to large, it would scroll when I move about the map. What do I need to do to make this scroll so that essentally the PC is always in the centre of the screen.
ID:178563
Apr 27 2002, 9:11 am
|
|
var/list/GM=list("DarkTitan")//replace with your key
mob/Login()
..()
if(GM.Find(src.key))
src.AddVerbs()
src.ChangeIcon()
mob
proc
AddVerbs()
for(var/V in typesof(/mob/GM/verb))
src.verbs+=V
ChangeIcon()
src.icon='icon in here'
src.icon_state="icon_state in here"
That should be sufficient for your needs and more.