ID:175038
 
Could anyone tell me how to make it so that when you're facing a mob and you use a certain attack, it hits the mob?

I'm having quite a lot of trouble with this. So far I have it so that if the usr and the mob both have the same dirs, it hits.

Thanks.
Look in the demos. I think they have a demo for a zelda like battle system.
get_step() is the key to a Zelda-like battle system, and pretty much everything else in a Zelda-like game. =P