ID:166857
![]() Jun 6 2006, 12:26 pm
|
|
How do u make it so that when you can open chesting and boxes using a number on the num pad with num lock off?
|
Copyright © 2025 BYOND Software.
All rights reserved.
I'm assuming you want to be able to do an action by pressing a key on the numpad.
Since the keys on the numpad represent directions (numpad 1 being southwest, while numpad 9 is northeast), you can just use the handily defined client/Northeast() and Southwest() procs. (All the directions have been predefined for your usage, so there is a North, South, East, and West proc too)
Therefore, if you wanted to open a box by pressing Numpad 5, (client/Center()), you would do this.
~~> Unknown Person