Loading...
  OR  Zero-K Name:    Password:   

Auto Groups on other keys than [0-9]?

1 posts, 416 views
Post comment
Filter:    Player:  
sort
Hi, I'm tinkering with Auto Group widget and I want to make a support for numpad keys, but without success. It seems to me like Spring engine has [0-9] keys hardcoded somewhere for autogroups but I'm not sure where to look to and how to go around it. I've been testing the code with "[KEYSYMS.KP1] = 10" added to groupNumber table and debugging the functions to see that my new key is properly handled in widget:KeyPress and it does! In fact unit2group table is even populated with new value, but when I try to use the key to select the units nothing happens. Is there anyone who can help me with this?
+0 / -0