ID:176117
Feb 15 2003, 6:48 pm
|
|
i can't figure out how to prevent a character from moving northeast southeast southwest and northwest but i don't know how.. can you help me out? also i am having trouble making a who verb.. can anyone shed some light on that one too?
|
In response to Bischoff
|
|
No, no, no... gads, your indentation is all screwed up!
I'll fix it for you... Indendation is a little large here, but at least it's right! =) <code>client Northeast() return Northwest() return Southeast() return Southwest() return mob/verb who() set category="Social" for(var/mob/M in world) if(!M.client) ..() else usr<<"[M.name]([M.key])"</code> |
In response to Crispy
|
|
If you want you can make it so when you press one of those to have it activate the who code. Like this.
client |
Northeast()
return
Northwest()
return
Southeast()
return
Southwest()
return
mob/verb
who()
set category="Social"
for(var/mob/M in world)
if(!M.client)
..()
else
usr<<"<font color=blue>[M.name]([M.key])</font color=blue>"
There ya go, yea yea, no problem.