atom/Click(atom/o)
usr.dir = o.dir
o = src
if(o.z != 0)
if(o!=null && o != usr.loc)
usr.attack()
Problem description:
I'm trying to make player turn into the mouse direction(like north,northeast,...) but the mob only turns to south,theres a way to do that?
Theres a way to player always turn into mouse direction then controlling the mouse on game screen?
Also, never, ever use usr for any reason, ever. Typecast instead.