When key is held in BYOND Discussion
|
|
New macro option: When key is held
Takes 2 commands; one for pressed, one for released
The 2nd command's input box would only appear after the 'When key is held' check-box is selected.
I know this can already be done manually, but due to BYOND only allowing 1 input per tick per player; it is somewhat un-functional and provides buggy results.
If BYOND could internally do the following:
(I'm assuming that BYOND actually reads all of the inputs that are given to it, but only sends 1 per tick? If that isn't the case then this might not be possible.)
Otherwise...
When a macro of the above type is used, BYOND will then specifically look for the key-up relating to that macro, giving it priority, and sending it to the server at the first available tick.
Also, it would be helpful if BYOND could automatically call the related key-up function to a currently held key if DS looses focus during holding. As it is now; if somebody is using a "holdable" macro and de-selects the BYOND window; it will allow them to release the key without calling the related release function.
|