Using the new Beta, with built-in pixel movement, how would I set it so that you attack what is in front of you? I have used the obounds() proc to check for attacking distance, but can't manage to think of how I could make it so that you attack what is in front of you, instead of all around.
When I check if the target is in front of you, it will read as if it isn't. Because I partially go in the 32x32 square the target is in, so it reads as though I am in that square. Which makes the byond client think that the target is not IN FRONT of me. Thanks for any help.
ID:155144
Sep 3 2011, 1:01 am (Edited on Sep 3 2011, 1:08 am)
|
|
Sep 3 2011, 3:01 am
|
|
bounds() can be called in 3 different ways. check the website DM reference
|