Is there a way to limit click distance?
Example:
Player can click something all they want, but if they are not within 1 space of it, and facing the object in question, nothing will happen.
Can someone provide an example of how this would be achieved?
ID:154681
Jan 18 2012, 11:51 pm
|
|
In response to A.T.H.K
|
|
A.T.H.K wrote:
Hmm try searching .. Well thats half: Any advice on direction? Guess i'd use get_Step, but i've never incorporated that into a click() - is it any different? |
In response to Komuroto
|
|
The same way those examples have it second link I believe.
You can try get_dir |
http://www.byond.com/developer/ forum/?query=Click%28%29+distance%3F+