mob/var/team = 0
proc/TargetCheck()
var/list/L=list()
for(var/mob/M in view(10,src)) if(M.team!=team) L+=M
if(L.len) FireAt(pick(L))
proc/FireAt()
usr <<"The turret fires at you!"
usr <<"Bullets chain across the sky!"
loading Future Wars.dme
Future Wars.dm:5:error:team:undefined var
Future Wars.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
ID:178375
May 22 2002, 6:02 pm
|
|
May 22 2002, 6:35 pm
|
|
it should be M.team!=usr.team (or src.team)
|