Thread: KeyAction
View Single Post
Old 11-10-2009, 11:16 AM   #3
Earth-Fury
Two Blue
 
Earth-Fury's Avatar
 
Join Date: Mar 2003
Posts: 2,179

Submissions (7)

Earth-Fury is just really nice (343)Earth-Fury is just really nice (343)Earth-Fury is just really nice (343)Earth-Fury is just really nice (343)

Send a message via MSN to Earth-Fury
Default

Quote:
Originally Posted by Anachron
Yes very nice,... But I guess there is nothing that removes the delay of arrow keys or?

Using a program like DelayReducer to reduce Battle.net lag will help on battle.net. There is still, however, an intrinsic delay in arrow keys registering events for some unknown reason.

Quote:
Originally Posted by Anachron
Still don't get why you use a trigger per arrow and for every arrowstate, instead sharing one and checking the gameevent.

Collapse JASS:
function eventHandler takes nothing returns nothing
    if EVENT_PLAYER_ARROW_DOWN_UP == GetTriggerEventId() then
           //Arrow_up_stuff
    endif
endfunction
That would add the cost of an 8 branch logical structure to all arrow key events... But more seriously, who gives a flying fuck considering both methods are nigh exactly the same?
__________________
Useful Links:
My Resources:
Good Resources:
Search
Tutorials
Ability Guide

UnitMaxState
BonusMod

AutoIndex
ARGB
TimerUtils

Earth-Fury is offline   Reply With Quote