turf
teamblue
Enter(var/mob/M)
if(M.team!="blue")
M << "Blue team members only!"
return 0
else
usr.loc = src
turf
teamred
Enter(var/mob/M)
if(M.team!="red")
M << "Red team members only!"
return 0
else
usr.loc = src
loading Bee Blast.dme
Bee Blast.dm:158:error:usr.loc:undefined var
Bee Blast.dm:158:error:src:undefined var
Bee Blast.dm:167:error:usr.loc:undefined var
Bee Blast.dm:167:error:src:undefined var
Bee Blast.dmb - 4 errors, 0 warnings (double-click on an error to jump to it)
ID:177803
Jul 26 2002, 5:02 pm
|
|
Isn't this about the millionth time you've posted a movement proc with usr in it? There's your problem right there. If you wrote it right in the first place, you wouldn't be having those errors. Setting loc directly in Enter() isn't a great idea either.
One other thing I can recommend: Give things a color or team var instead of creating lookalike types for blue and red. That's a lot of redundant code you have. It could look like this instead: turf/team Lummox JR |
RaeKwon