Thread: KeyAction
View Single Post
Old 11-10-2009, 10:54 AM   #2
Anachron
User
 
Anachron's Avatar
 
Join Date: Mar 2009
Posts: 1,079

Anachron will become famous soon enough (51)Anachron will become famous soon enough (51)

Default

Yes very nice,... But I guess there is nothing that removes the delay of arrow keys or?

Anyway, I see very much use in this. For an hero arrow selection system, for example.

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
__________________
CustomInventory [Discussion - Download] - Got Directors Cut!
CustomMissle [Discussion - [Download (not yet)] - In development!
Other systems [Spawn System] [Move System] [CustomBar] [SpellBar]
Anachron is offline   Reply With Quote