for example:
client
Northwest()
flick("flick",src)
That code doesn't call the flick process as you hit the up and left arrows.
However it will work with the Home key.
Any help on how to make it work with the arrows?
ID:171801
![]() Aug 6 2004, 11:39 am
|
|
ofcourse we can define directions such as north-west/east and south-west/east but the waht we define doesn't work with the arrow keys, it works with page up, home, end and page down keys only.
for example: client That code doesn't call the flick process as you hit the up and left arrows. However it will work with the Home key. Any help on how to make it work with the arrows? |
![]() Aug 6 2004, 11:50 am
|
|
You only have four directions with your arrow keys, East, West, North, South. BUT, you can use the numpad as a directional pad! Try pressing 7.
|
Yes and 7 says Home on it...
And i know the arrows only qualify as four keys but in places other than byond they also work for NE,NW,SE,SW. I was wondering if this is possible in byond aswell. |
Depends what you mean. But otherthan using the numpad I don't think so (I never saw the "Home" there =)). That's unless you whip something up, but it won't be EXACTLY what you want.
|
I "mean" that they key works as u define it(you can move diagonally with it, flick icon states, call processes etc etc)
|
I see the problem in:
client Sorry, I got mixed up in the question. Well, it's because you're using src! This is a client procedure, you should use usr. client That *should* work. |
No, you should be using mob.
client Anyway, your problem is that you want it so that pressing both up and left would move you northwest. BYOND only accepts one input at a time, so that doesn't work. |