ID:177051
 
Hmmm... I'm not quite sure what code would be useful in allowing enemies to fight back and attck... Would anyone be willing to please help me out with this?
hmm just do something of a loop.for(var/mob/M in view(src))
and call and attack proc or when the user attacks it call a counterattack proc.
In response to Soccerguy13
hmmm... well, I comprehend some of what you said but I'm not exactly sure what I need to enter into the coding. If you could maybe put it into a bit simpler terms for a newbie like myself I would really appreciate it... If you don't mind that is.
In response to Riotha
ok so say a monster is walking about.And while he\she\it is walking about it checks for ppl around(for(var/mob/M in view()).When it finds himself one he heads over to it.When he bumps into it(or is a certain distance from it) it calls your attack proc.
In response to Soccerguy13
oh, ok. I think I get it now. Thanks a bunch.
In response to Riotha
In response to Siientx
oh yeah I could have told those.Los of thought.