ID:163420
 
Attack(mob/M in get_step(src,src.dir)) //Attack player if you are facing them


this codes basically mean the above thing but how do i put it in so if u are not facing the player thn dont attack

and also how can i change mob iconstates stuff with process
Well it doesn't let you attack them if your not facing them. Your other problem is how do you change icon states with process? I don't really understand that one.. Could you explain it to me? =/
In response to LifeSavers
no i mean

how can i do it so i can use the if condition

tht if my player is facing them
attack them
else

how do i use the if condition with the above code

and

2nd how do i change other objects icon states by using mob/proc