ID:178915
 
how do you make it so a key you specifie gets a specific icon not like the rest?
mob/special
key = "Some key"
icon = 'special_icon.dmi'
Login()
world << "[src]'s special!"
..()
In response to Nadrew
Nadrew wrote:
> mob/special
> key = "Some key"
> icon = 'special_icon.dmi'
> Login()
> world << "[src]'s special!"
> ..()
>

lol
In response to Tazor07
riiiiiiiiiiight!

mob/Login()
if(src.key == "RaeKwon")
usr.icon = 'raekwon.dmi'
world << "[usr] The GM Logs in!"
else
world << "[usr] Enters."
In response to Tazor07
What's so funny? It was an example of working code.
In response to RaeKwon
I'm guessing you didn't know setting a mob's key var causes the person with that key gets that mob's attributes, verbs, icon, procs, everything.